Skip to content

Commit 03e76d9

Browse files
refactor(pl/rust): add note about wasi:cli/run standard interop
1 parent 2f2eb70 commit 03e76d9

File tree

1 file changed

+5
-0
lines changed
  • component-model/src/language-support/creating-runnable-components

1 file changed

+5
-0
lines changed

component-model/src/language-support/creating-runnable-components/rust.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ wkg wit fetch
6363

6464
At this point, you should have a `wit` folder with a `deps` subfolder and your original `component.wit`.
6565

66+
The component we will create to satisfy the WIT above can be used as a library, as other components
67+
or platforms can use the `greet` interface export. More importantly, the component can *also* be
68+
recognized as a generically runnable component thanks to `wasi:cli/run`, so it can work
69+
with any tooling (ex. `wasmtime run`) that supports/recognizes the `wasi:cli` interface.
70+
6671
[!WARNING]: #
6772

6873
### 3. Write the code for the component

0 commit comments

Comments
 (0)