lord / wargo

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

Arguments to test runner #3

Open lord opened 7 years ago

lord commented 7 years ago
lilianmoraru commented 7 years ago

This also affects builds on nightly(I think the issue is not specific to the test runner but more with passing flags): wargo build -> cargo build --target=wasm32-unknown-emscripten wargo +nightly build -> cargo +nightly build Workaround: rustup override set nightly -> wargo build

rust-brotli compiles nicely. Thanks! Time to play with some in-browser client-side Brotli decompression :smile:

lord commented 7 years ago

Thanks for the catch! 😄 Glad it's working for you with the workaround, I'll try to get in a fix soon.

lilianmoraru commented 7 years ago

I found just now and seems that this project and stdweb's cargo-web try to reach about the same goals(just as a side note): https://github.com/koute/cargo-web It does not seem to support wasm at the moment.