Stream: wasi

Topic: missing Wasi in preview_* in 0.28.0


view this post on Zulip Rafael Fernández López (Jul 15 2021 at 11:37):

Hello! I'm porting a project to wasmtime 0.28.0 and I'm hitting the following problem: https://gist.github.com/ereslibre/c139b8b9d6f403d1e4880cc83899cace. As per the docs, it should be fine. I'm finding it hard to reason about what I'm doing wrong. Thanks in advance!

GitHub Gist: instantly share code, notes, and snippets.

view this post on Zulip Alex Crichton (Jul 15 2021 at 14:22):

oh oops I think that's outdated documentation, there's no longer a Wasi struct, instead you'll need to store WasiCtx in the T of Store<T>

view this post on Zulip Rafael Fernández López (Jul 15 2021 at 14:30):

oh thank you! I'm going to dig on it then. Since all that part is autogenerated I find it hard to find out the real structure; hope to be able to fully understand it soon. Thanks again!


Last updated: Nov 22 2024 at 16:03 UTC