-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get wasm_of_ocaml up-to-date with js_of_ocaml #47
Comments
Currently after applying the process above, there are only two tests failing with OCaml 5.2.0:
|
Regarding By the way, the commit "Source_map_io API changes" should also be amended with these changes: diff --git a/compiler/lib/source_map_io.unsupported.ml b/compiler/lib/source_map
_io.unsupported.ml
index dbdb35816c..2d4ecf1cc6 100644
--- a/compiler/lib/source_map_io.unsupported.ml
+++ b/compiler/lib/source_map_io.unsupported.ml
@@ -23,6 +23,8 @@ let to_string _ = fail ()
let of_string _ = fail ()
-let to_file _ _ = fail ()
+let of_file_no_mappings _ = fail ()
+
+let to_file ?mappings:_ _ ~file:_ = fail ()
let enabled = false |
Done, it works!
Done. |
The marshaling test pass for me when producing JavaScript. It fails with |
Not for me. This is completely obscure to me. |
Status report: I rebased I have also pushed missing primitives to |
ocsigen/js_of_ocaml#1634 adds a new test that checks that toplevel built with separate compilation works correctly. |
Hm, what is strange is that it is |
The bulk of the changes needed on the Js_of_ocaml side has been submitted as PRs there, there shouldn’t be many more except to fix problems. |
There is this error:
So, it seems This issue is already in branch |
We can add it in Oh, and the merged file |
Maybe in Js_of_ocaml_compiler_dynlink.ml is best |
We have a branch jsoo-tip which contains the changes we make to the Js_of_ocaml code in
compiler/lib
, and a branch jsoo-merge which contains some changes to thecompiler/lib/wasm
code to adapt to API changes in Js_of_ocaml.jsoo-merge
to make it simpler):jsoo-tip
merged into js_of_ocaml. One of the commit conflicts with the double translation PR; we need to understand what to do about it.jsoo-merge
into wasm_of_ocaml. See Merge recent updates from js_of_ocaml #57.cps_calls
intotrampolined_calls
for clarity #68Note that Add Typed_array.Bytes module ocsigen/js_of_ocaml#1609 makes use of primitives which are not implemented in Wasm.Edit: done)String _
andNativeString _
.master
#86main
back into js_of_ocamlmaster
.The text was updated successfully, but these errors were encountered: