See #194 This installs (and caches) the emsdk toolchain at the last version compatible w/ stable rust. It also tests on both asmjs and wasm32, uses node by default, and works around an asm.js bug.
10 lines
311 B
Plaintext
10 lines
311 B
Plaintext
# Allow normal use of "cargo run" and "cargo test" on these wasm32 platforms.
|
|
[target.wasm32-unknown-unknown]
|
|
runner = 'wasm-bindgen-test-runner'
|
|
[target.wasm32-wasi]
|
|
runner = 'wasmtime'
|
|
|
|
# Just run on node by default (that's where emscripten is tested)
|
|
[target.'cfg(target_os = "emscripten")']
|
|
runner = 'node'
|