Modify ocamltest_core_and_plugin dune. (#9843)

Co-authored-by: David Allsopp <david.allsopp@metastack.com>
master
Brett Gilio 2020-09-22 03:27:32 -05:00 committed by GitHub
parent 72dbcb8433
commit 9038c98fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

2
dune
View File

@ -45,7 +45,7 @@
;; UTILS
config build_path_prefix_map misc identifiable numbers arg_helper clflags
profile terminfo ccomp warnings consistbl strongly_connected_components
targetint load_path int_replace_polymorphic_compare
targetint load_path int_replace_polymorphic_compare binutils
;; PARSING
location longident docstrings syntaxerr ast_helper camlinternalMenhirLib

View File

@ -39,10 +39,13 @@
(modes byte)
(wrapped false)
(flags (:standard -nostdlib))
(libraries ocamlcommon stdlib)
(libraries ocamlcommon stdlib
(select ocamltest_unix.ml from
(unix -> ocamltest_unix_real.ml)
(-> ocamltest_unix_dummy.ml)))
(modules (:standard \ options main))
(c_flags (-DCAML_INTERNALS -I%{project_root}/runtime)) ; fixme
(c_names run_unix run_stubs ocamltest_stdlib_stubs))
(c_names run_unix run_stubs))
(rule
(targets empty.ml)