mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-24 02:16:32 +11:00
Include --bin with_winit_bin
in run_wasm instructions
This commit is contained in:
parent
1529945a5a
commit
d3c54ed12d
1 changed files with 3 additions and 1 deletions
|
@ -89,7 +89,9 @@ This uses [`cargo-run-wasm`](https://github.com/rukai/cargo-run-wasm) to build t
|
||||||
```shell
|
```shell
|
||||||
# Make sure the Rust toolchain supports the wasm32 target
|
# Make sure the Rust toolchain supports the wasm32 target
|
||||||
rustup target add wasm32-unknown-unknown
|
rustup target add wasm32-unknown-unknown
|
||||||
cargo run_wasm -p with_winit
|
|
||||||
|
# The binary name must also be explicitly provided as it differs from the package name
|
||||||
|
cargo run_wasm -p with_winit --bin with_winit_bin
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Warning**
|
> **Warning**
|
||||||
|
|
Loading…
Add table
Reference in a new issue