diff --git a/dune b/dune index 292467727b..7fa05d513d 100644 --- a/dune +++ b/dune @@ -4,7 +4,10 @@ (:standard -w +a-4-40-41-42-44-48-58-66-70)) (binaries (tools/node_wrapper.exe as node) - (tools/node_wrapper.exe as node.exe))) + (tools/node_wrapper.exe as node.exe)) + (wasm_of_ocaml + (flags + (:standard --enable use-js-string)))) (with-effects (js_of_ocaml (compilation_mode separate) diff --git a/tools/ci_setup.ml b/tools/ci_setup.ml index d64dfbc7fc..d33f15f591 100644 --- a/tools/ci_setup.ml +++ b/tools/ci_setup.ml @@ -32,6 +32,9 @@ let dune_workspace = (_ (env-vars (TESTING_FRAMEWORK inline-test)) (js_of_ocaml (enabled_if false)) + (wasm_of_ocaml + (flags + (:standard --enable use-js-string))) (flags :standard -warn-error -8-32-34-49-52-55 -w -67-69))) |}