diff options
author | Blaine Bublitz <blaine.bublitz@gmail.com> | 2022-05-05 17:35:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 00:35:38 +0000 |
commit | 8554428d4b26865c03bafa3dbe61ee4fb2957fe1 (patch) | |
tree | a787c6db8ee62c998dcf0511e2f0fbd95d4bbab9 /src | |
parent | fb24b53ffc91030829fddb1140bb0a79507a25e7 (diff) | |
download | binaryen-8554428d4b26865c03bafa3dbe61ee4fb2957fe1.tar.gz binaryen-8554428d4b26865c03bafa3dbe61ee4fb2957fe1.tar.bz2 binaryen-8554428d4b26865c03bafa3dbe61ee4fb2957fe1.zip |
Add CMake flag JS_OF_OCAML for js_of_ocaml (#4637)
Diffstat (limited to 'src')
-rw-r--r-- | src/js/binaryen.jsoo-extern-pre.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/js/binaryen.jsoo-extern-pre.js b/src/js/binaryen.jsoo-extern-pre.js new file mode 100644 index 000000000..fdfee1c22 --- /dev/null +++ b/src/js/binaryen.jsoo-extern-pre.js @@ -0,0 +1,6 @@ +// js_of_ocaml needs a special syntax for exposing variables to the compiler +// and it is not built for nodejs so we don't need the __dirname hack + +//Provides: Binaryen +var Binaryen = {}; + |