wargo
wargo copied to clipboard
Easy Rust to WebAssembly
I followed all the steps of the article https://lord.io/blog/2017/wargo/ However I'm getting the following errors when I try to access the http://127.0.0.1:8080: 
Hi @lord, I'm working on the implementation of rust/wasm into parceljs and I wondering if you are planning on making a more friendly api to using wargo as a library...
I tried out the [wargo-loader-example](https://github.com/lord/wargo-loader-example), but no matter what I do, there appears this error in the console: ```sh Assertion failed: Cannot call unknown function add_plus_five (perhaps LLVM optimizations or...
This is probably similar to `cargo test` but running different executable
Someone [on reddit](https://www.reddit.com/r/rust/comments/7803ok/rust_to_webassembly_made_easy/doqa1hf/) points out that we should work even if the system python points to 3, as long as there's a `python2` or `python2.7` installed.
When I execute wargo rustc -- --emit=llvm-ir wargo doesn't add `--target`, I have to add it manually: wargo rustc --target=wasm32-unknown-emscripten -- --emit=llvm-ir
- [ ] `--no-run` should actually not run tests, and only forward this flag to `cargo` once - [ ] `--target=` should override our wasm32 default - [ ] `--...
They should run, but I think the overall command should fail?