- Build the host-command-component:
cargo component build
- Make sure you have built
guest_interfaced_adder_rs.wasm
. If not,cd ../guest-interfaced-adder-rs && cargo build --release --target wasm32-wasip2
- Compose
host-command-component.wasm
in e.g.../target/wasm32-wasip1/debug/host-command-component.wasm
andguest-interfaced-adder-rs
on wasmbuilder.app.- Alternatively, you can use WAC language and
wac
to programmatically compose components. See compose with WAC.
- Alternatively, you can use WAC language and
- Run the host component with
wasmtime
:wasmtime run <the-name-of-your-choice-when-downloading-the-component>.wasm
host-command-component
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||