ianjsikes / rust-wasm-webpack-tutorial

Finished example project for my guide on setting up a Webpack project with Rust and WebAssembly
https://medium.com/@ianjsikes/get-started-with-rust-webassembly-and-webpack-58d28e219635
MIT License
121 stars 14 forks source link

javascript error prevents the rust code from executing #5

Closed benkonz closed 6 years ago

benkonz commented 6 years ago

I just compiled and ran the code and I ran into an error when I tried to look at the console output. This is the error I received:

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)")

Is there a problem with my wasm toolchain?