Skip to content

Commit 4e90691

Browse files
authored
Update rust.md (#330)
Update code line to point to wasm32-wasip2 instead of wasm32-wasip1 that is not used here
1 parent b6d034f commit 4e90691

File tree

1 file changed

+1
-1
lines changed
  • component-model/src/language-support/building-a-simple-component

1 file changed

+1
-1
lines changed

component-model/src/language-support/building-a-simple-component/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ With the [`component-docs` repository][repo-component-docs] cloned locally, run
242242

243243
```console
244244
$ cd examples/example-host
245-
$ cargo run --release -- 1 2 ../add/target/wasm32-wasip1/release/adder.wasm
245+
$ cargo run --release -- 1 2 ../add/target/wasm32-wasip2/release/adder.wasm
246246
1 + 2 = 3
247247
```
248248

0 commit comments

Comments
 (0)