lord / wargo

Easy Rust to WebAssembly
MIT License
261 stars 9 forks source link

Cannot call wasm functions from JS #19

Open ro-ka opened 6 years ago

ro-ka commented 6 years ago

I tried out the wargo-loader-example, but no matter what I do, there appears this error in the console:

Assertion failed: Cannot call unknown function add_plus_five (perhaps LLVM optimizations or closure removed it?)

What am I missing? Why is it removed / not added?