raphamorim / wasm-and-rust

WebAssembly and Rust: A Web Love Story
498 stars 29 forks source link

console output: "on the web, we need the wasm binary to be preloaded" #3

Closed binary132 closed 6 years ago

binary132 commented 6 years ago

FF Nightly 61.0a1 (2018-04-12) (64-bit) for Ubuntu.

When running this, I get the following output:

uncaught exception: abort("on the web, we need the wasm binary to be preloaded and set on Module['wasmBinary']. emcc.py will do that for you when generating HTML (but not JS)"). Build with -s ASSERTIONS=1 for more info.

Related to this issue? https://github.com/WebAssembly/binaryen/issues/867#issuecomment-270286201

raphamorim commented 6 years ago

I believe #6 should fix it, let me know if it's still failing.