Skip to content

Commit 7203a07

Browse files
committed
run-wasm helper (cargo-run-wasm) for testing the wgpu runner on the web.
1 parent 4086e53 commit 7203a07

File tree

5 files changed

+213
-24
lines changed

5 files changed

+213
-24
lines changed

.cargo/config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[alias]
22
compiletest = "run --release -p compiletests --"
33
difftest = "run --release -p difftests --"
4+
run-wasm = ["run", "--release", "-p", "run-wasm", "--"]
45

6+
[target.'cfg(target_arch = "wasm32")']
7+
rustflags = ["--cfg=web_sys_unstable_apis"]
58

69
[target.x86_64-pc-windows-msvc]
710
# Using Rust's LLD linker to avoid MSVC linker limitations

0 commit comments

Comments
 (0)