Skip to content

Commit 2ece5ea

Browse files
committed
use wac plug instead
Signed-off-by: Matthew Fisher <matt.fisher@fermyon.com>
1 parent b94ceb7 commit 2ece5ea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • component-model/src/language-support

component-model/src/language-support/csharp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,15 +269,15 @@ At this point, you'll have two Webassembly components:
269269
1. A component that implements the `example` world
270270
2. A component that calls `add` from within the `hostapp` world.
271271

272-
Since the `hello-wasm` component is no longer a self-contained application, it needs to be composed the first component that implements the `add` function. You can compose your `hello-wasm` component with your `adder` component by running `wasm-tools compose`:
272+
Since the `hello-wasm` component is no longer a self-contained application, it needs to be composed the first component that implements the `add` function. You can compose your `hello-wasm` component with your `adder` component by running [`wac plug`](https://github.com/bytecodealliance/wac):
273273

274274
```sh
275-
wasm-tools compose bin/Debug/net9.0/wasi-wasm/native/hello-wasm.wasm -d ../adder/bin/Debug/net9.0/wasi-wasm/native/adder.wasm -o main.wasm
275+
wac plug bin/Debug/net9.0/wasi-wasm/native/hello-wasm.wasm --plug ../adder/bin/Debug/net9.0/wasi-wasm/native/adder.wasm -o main.wasm
276276
```
277277

278278
Then you can run the composed component:
279279

280280
```sh
281281
wasmtime run main.wasm
282282
1 + 2 = 3
283-
```
283+
```

0 commit comments

Comments
 (0)