Use wasm-server-runner as the WASM runner
This way I can `cargo run --target ...` and Cargo will spawn a dummy webserver instead of attempting to execute the WASM file on my x86/arm CPU.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
|
||||
[target.wasm32-unknown-unknown]
|
||||
runner = "wasm-server-runner"
|
||||
rustflags = ["--cfg", "getrandom_backend=\"wasm_js\""]
|
||||
|
||||
Reference in New Issue
Block a user