We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 056d579 commit e6f8305Copy full SHA for e6f8305
compiler/tests-jsoo/custom.wat
@@ -0,0 +1,7 @@
1
+; This ensures that the referenced JavaScript values are linked in the
2
+; runtime with separate compilation and is optimized away in case of
3
+; whole program compilation.
4
+
5
+(global (export "_caml_js_delete") (import "js" "caml_js_delete") anyref)
6
+(global (export "_process") (import "js" "process") anyref)
7
+(global (export "_obj") (import "js" "obj") anyref)
compiler/tests-jsoo/dune
@@ -74,7 +74,7 @@
74
(js_of_ocaml
75
(javascript_files custom.js))
76
(wasm_of_ocaml
77
- (javascript_files custom.js))
+ (javascript_files custom.js custom.wat))
78
(modes js wasm))
79
80
(ocamlyacc calc_parser)
0 commit comments