Skip to content
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

chore: use the stock js_of_ocaml #4965

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

chore: use the stock js_of_ocaml #4965

wants to merge 2 commits into from

Conversation

ggreif
Copy link
Contributor

@ggreif ggreif commented Mar 22, 2025

We used to build v5.0.1 ourselves, as there were correctness problems with v4.1.x. This reverts back to the supplied one that is bundled with OCaml 4.13.


there is some fallout, though, as the limit.mo test won't let us to iterate up to 10000. I had to reduce it to the 7600 mark due to a stack overflow:

>   {
    result: {
+     error: {}
-     error: null
    },
+   stderr: 'limit.mo:1.23-1.27: internal error, Stack overflow\n' +
+     '\n' +
+     'Last environment:\n' +
+     '@ManagementCanister = {}\n' +
+     '@add_cycles = <func>\n' +

there is some fallout, though, as the `limit.mo` test won't let us to
iterate up to 10000. I had to reduce it to the 7600 mark due to
a stack overflow:
``` diff
>   {
    result: {
+     error: {}
-     error: null
    },
+   stderr: 'limit.mo:1.23-1.27: internal error, Stack overflow\n' +
+     '\n' +
+     'Last environment:\n' +
+     '@ManagementCanister = {}\n' +
+     '@add_cycles = <func>\n' +
```
@ggreif ggreif self-assigned this Mar 22, 2025
Copy link

github-actions bot commented Mar 22, 2025

Comparing from b936eec to 4ee1f62:
The produced WebAssembly code seems to be completely unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant