3 ms·
Why no `cargo run`?
by seaish 7y ago
Why no `cargo run`?
- xena 7y agoI'm used to doing stuff with WebAssembly, that is beyond the reach of `cargo run` most of the time.
- CryZe 7y agoActually even for wasm you can make `cargo run` work. You just need to write a script for it and use it as the target runner. Especially for WASI this is great where you can just specify wasmtime as the runner and then cargo test / bench / run all work perfectly fine.
- hamaluik 7y agoI was actually just searching for this the other day but couldn’t quite figure it out. Do you have any guides on doing just this? Thanks!