Closed juj closed 5 years ago
Yes, I suppose we could check for wasm support in the HTML first, and skip loading the wasm if it's not present.
This issue has been automatically marked as stale because there has been no activity in the past 2 years. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.
Related to #4909, when one builds
em++ tests\hello_world.cpp -s BINARYEN=1 -s BINARYEN_METHOD='native-wasm,asmjs' -o a.html
, and runs on a browser that does not support Wasm, we getbut one doesn't really need to download the
.wasm
file if lack of support for WebAssembly was detected, but it would be possible to directly just jump to downloading.asm.js
.