Details are here: http://kripken.github.io/emscripten-site/docs/compiling/WebAssembly.html#binaryen-methods
But please note as it says there that a single build with a fallback will lose performance. Two separate builds avoids that. On Sun, May 13, 2018 at 2:52 AM, Shlomi Fish <[email protected]> wrote: > Hi all! > > I recently converted http://fc-solve.shlomifish.org/js-fc-solve/text/ to > -s > WASM=1 , but then noticed it stopped running on my Samsung Galaxy S3 > phone. How > can I generate webasm code, but with a fallback to asm.js? > > -- > ----------------------------------------------------------------- > Shlomi Fish http://www.shlomifish.org/ > http://www.shlomifish.org/humour/Summerschool-at-the-NSA/ > > The Starship Enterprise motto is going to change to “To boldly go where > only > Chuck Norris has gone before”. > — http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/ > > Please reply to list if it's a mailing list post - http://shlom.in/reply . > > -- > 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 [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
