mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-09 12:21:31 +11:00
Update run_wasm instructions
This commit is contained in:
parent
84915dc289
commit
7526d1ca26
|
@ -86,10 +86,10 @@ Until browser support becomes widespread, it will probably be necessary to use d
|
||||||
The following command builds and runs a web version of the [winit demo](#winit).
|
The following command builds and runs a web version of the [winit demo](#winit).
|
||||||
This uses [`cargo-run-wasm`](https://github.com/rukai/cargo-run-wasm) to build the example for web, and host a local server for it
|
This uses [`cargo-run-wasm`](https://github.com/rukai/cargo-run-wasm) to build the example for web, and host a local server for it
|
||||||
|
|
||||||
Other examples use the `-p` shorthand, but `cargo-run-wasm` requires the full `--package` to be specified
|
Other examples use the `-p` shorthand, but `cargo-run-wasm` requires the full `--package` and binary name to be specified
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cargo run_wasm --package with_winit
|
cargo run_wasm --package with_winit --bin with_winit_bin
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Warning**
|
> **Warning**
|
||||||
|
|
Loading…
Reference in a new issue