cargo run --release -p <path>
# or
cargo run --release --bin <bin>
The available binary targets are:
- example_cube
- example_fish
- hello-compute
- hello-workgroups
- hello-synchronization
wasm-pack build <path> --target web
RUSTFLAGS=--cfg=web_sys_unstable_apis wasm-pack build --target web