--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
That should work the same as asm.js (with the fix that landed on incoming yesterday or the day before), so the examples in test_browser.py should all work when WASM=1. If not, let me know.
On Tue, Mar 21, 2017 at 9:29 AM, awt <knigh...@gmail.com> wrote:
Thanks Alon :) Building with -Oz did the trick.
For my next step, I would like to run wasm on a web worker with the --proxy-to-worker flag. Do you have any code examples or documentation on how to go about it? Once again, thanks for your help.
On Tuesday, March 21, 2017 at 2:23:36 AM UTC+8, Alon Zakai wrote:
That error message indicates you are hitting a limitation in the VM. Does building with -O1 or above fix it? (optimizations should reduce the number of locals dramatically)I'm curious if the same code runs ok as asm.js (also when unoptimized)? That would indicate a different limit in wasm vs asm.js, which would surprise me (and we should report to the browser).
On Mon, Mar 20, 2017 at 4:29 AM, awt <knigh...@gmail.com> wrote:
Hi,I am currently on incoming and tried to compile and run my code with the following compilation flags:"-s BINARYEN=1" "-s BINARYEN_METHOD='native-wasm,asmjs'"I ran my code on Firefox Nightly 54.0a1 (2017-02-19) (64-bit) and got the following error:CompileError: wasm validation error: at offset 4: too many localsI tried with "-s WASM=1" and got the same error as well.Does anybody know how to debug this? Thanks.
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.