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

Fix RangeError #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeffrafter
Copy link

The reason this is happening has something to do with the _compile_array internals and the problem is solved using emscripten 1.38.32+ and adding the flag -Os or -Oz (https://emscripten.org/docs/optimizing/Optimizing-Code.html#optimizing-code-size) to the emcc call when building the WASM.

We also adjusted the memory in this to allow for growth.

cc @damaneice 🍐

@jasoncharnes
Copy link
Owner

Hi @jeffrafter and thank you for the PR! I'm sorry for the delay.

@willglynn this seems better suited for your review when you have time.

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.

2 participants