From f6526787bbaef25288e13797bd97fe613c6bae8f Mon Sep 17 00:00:00 2001 From: Andrii Maliuta Date: Thu, 4 Dec 2025 21:50:38 +0200 Subject: [PATCH] Update rust.md Update code line to point to wasm32-wasip2 instead of wasm32-wasip1 that is not used here --- .../src/language-support/building-a-simple-component/rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component-model/src/language-support/building-a-simple-component/rust.md b/component-model/src/language-support/building-a-simple-component/rust.md index 3bff6594..6176f01b 100644 --- a/component-model/src/language-support/building-a-simple-component/rust.md +++ b/component-model/src/language-support/building-a-simple-component/rust.md @@ -242,7 +242,7 @@ With the [`component-docs` repository][repo-component-docs] cloned locally, run ```console $ cd examples/example-host -$ cargo run --release -- 1 2 ../add/target/wasm32-wasip1/release/adder.wasm +$ cargo run --release -- 1 2 ../add/target/wasm32-wasip2/release/adder.wasm 1 + 2 = 3 ```