Skip to content

Commit 34cbf14

Browse files
committed
Regenerate documentation
1 parent 902242a commit 34cbf14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rust_wasm_bindgen.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
To build a `rust_binary` for `wasm32-unknown-unknown` target add the `--platforms=@rules_rust//rust/platform:wasm` flag.
1212

1313
```command
14-
bazel build @examples//hello_world_wasm --platforms=@rules_rust//rust/platform:wasm
14+
bazel build @rules_rust_examples//hello_world_wasm --platforms=@rules_rust//rust/platform:wasm
1515
```
1616

1717
To build a `rust_binary` for `wasm32-wasi` target add the `--platforms=@rules_rust//rust/platform:wasi` flag.
1818

1919
```command
20-
bazel build @examples//hello_world_wasm --platforms=@rules_rust//rust/platform:wasi
20+
bazel build @rules_rust_examples//hello_world_wasm --platforms=@rules_rust//rust/platform:wasi
2121
```
2222

2323
`rust_wasm_bindgen` will automatically transition to the `wasm` platform and can be used when

0 commit comments

Comments
 (0)