run.rb icon indicating copy to clipboard operation
run.rb copied to clipboard

Fix RangeError

Open jeffrafter opened this issue 5 years ago • 1 comments

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 🍐

jeffrafter avatar Jun 14 '19 19:06 jeffrafter

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.

jasoncharnes avatar Jul 12 '19 01:07 jasoncharnes