From d3c54ed12d11521559ac9a781ae40e8f925a52e9 Mon Sep 17 00:00:00 2001 From: Arman Uguray Date: Mon, 24 Apr 2023 15:49:49 -0700 Subject: [PATCH] Include `--bin with_winit_bin` in run_wasm instructions --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6524e00..dceac80 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,9 @@ This uses [`cargo-run-wasm`](https://github.com/rukai/cargo-run-wasm) to build t ```shell # Make sure the Rust toolchain supports the wasm32 target 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**