Skip to content

Commit cfcfb7b

Browse files
refactor(pl/rust): remove stdout print bug note
1 parent 5e78ad4 commit cfcfb7b

File tree

1 file changed

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

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ To run your command component:
5757
wasmtime run ./target/wasm32-wasip2/debug/runnable-example.wasm
5858
```
5959

60-
> [!WARNING]
61-
> If your program prints to standard out or error, you may not see the printed output!
62-
>
63-
> Some versions of `wasmtime` have a bug where they don't flush output streams before exiting. To work
64-
> around this, add a `std::thread::sleep()` with a 10 millisecond delay before exiting `main`.
65-
6660
## Enabling a library component to be run via the `wasi:cli/run` interface
6761

6862
Any reactor (library-like) component can *also* export the [`run` interface][wasi-cli-iface-run] inside [WASI CLI][wasi-cli],

0 commit comments

Comments
 (0)