We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5014b7e commit 8b08cbbCopy full SHA for 8b08cbb
docs/rust_wasm_bindgen.md
@@ -11,13 +11,13 @@
11
To build a `rust_binary` for `wasm32-unknown-unknown` target add the `--platforms=@rules_rust//rust/platform:wasm` flag.
12
13
```command
14
-bazel build @examples//hello_world_wasm --platforms=@rules_rust//rust/platform:wasm
+bazel build @rules_rust_examples//hello_world_wasm --platforms=@rules_rust//rust/platform:wasm
15
```
16
17
To build a `rust_binary` for `wasm32-wasi` target add the `--platforms=@rules_rust//rust/platform:wasi` flag.
18
19
20
-bazel build @examples//hello_world_wasm --platforms=@rules_rust//rust/platform:wasi
+bazel build @rules_rust_examples//hello_world_wasm --platforms=@rules_rust//rust/platform:wasi
21
22
23
`rust_wasm_bindgen` will automatically transition to the `wasm` platform and can be used when
0 commit comments