Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
vouillon committed Oct 4, 2024
1 parent 139cc0d commit cd48c75
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions compiler/tests-ocaml/lib-digest/dune
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
(names digests)
(libraries)
(enabled_if
(>= %{ocaml_version} 5.2))
(and (>= %{ocaml_version} 5.2) (<> %{profile} wasm) (<> %{profile} wasm-effects)))
(modules digests)
(modes js))

(rule
(alias runtest)
(deps digests.bc.js)
(enabled_if
(>= %{ocaml_version} 5.2))
(and (>= %{ocaml_version} 5.2) (<> %{profile} wasm) (<> %{profile} wasm-effects)))
(action
(run node ./digests.bc.js)))
10 changes: 8 additions & 2 deletions ppx/ppx_deriving_json/tests/dune
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,21 @@
(rule
(alias runtest)
(enabled_if
(>= %{ocaml_version} 5.1))
(and
(>= %{ocaml_version} 5.1)
(<> %{profile} wasm)
(<> %{profile} wasm-effects)))
;; (package js_of_ocaml-ppx)
(action
(diff ppx.mlt ppx.mlt.corrected)))

(rule
(alias runtest)
(enabled_if
(>= %{ocaml_version} 5.1))
(and
(>= %{ocaml_version} 5.1)
(<> %{profile} wasm)
(<> %{profile} wasm-effects)))
;; (package js_of_ocaml-ppx)
(action
(diff gen.mlt gen.mlt.corrected)))
2 changes: 1 addition & 1 deletion runtime/wasm/dune
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

(rule
(target version-dependent.wat)
(deps version-dependent/post-5.2.wat)
(deps version-dependent/post-5.1.wat)
(enabled_if
(and
(>= %{ocaml_version} 5.1.0)
Expand Down

0 comments on commit cd48c75

Please sign in to comment.