Stream: wasi

Topic: How to use wasi-interface worlds


view this post on Zulip Mats Brorsson (Jun 08 2025 at 19:20):

I have tried some time now to find information how I can in a component print to stdout and how to do file operations. It should live in worlds wasi:filesystem and wasi:cli/stdout if I understand it correctly. They are both in wasip2 so should be supported by cargo and wasmtime (I'm on v35 of wasmtime).

However I cannot find the documentation or examples on how I can use these interfaces from another component. Any pointer are appreciated.


Last updated: Dec 06 2025 at 06:05 UTC