wargo icon indicating copy to clipboard operation
wargo copied to clipboard

Arguments to test runner

Open lord opened this issue 8 years ago • 3 comments

  • [ ] --no-run should actually not run tests, and only forward this flag to cargo once
  • [ ] --target= should override our wasm32 default
  • [ ] -- <args> should forward args to test runner in browser
  • [ ] test runner output should be colored
  • [ ] print a . every 5 minutes so travis doesn't sleep?
  • [ ] see comment below, make sure it works with +nightly syntax

lord avatar Oct 21 '17 17:10 lord

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:

lilianmoraru avatar Oct 26 '17 18:10 lilianmoraru

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

lord avatar Oct 26 '17 18:10 lord

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.

lilianmoraru avatar Oct 26 '17 22:10 lilianmoraru