Stream: git-wasmtime

Topic: wasmtime / PR #2236 Modify wasi example to include simple...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 26 2020 at 01:06):

joshuawarner32 opened PR #2236 from fs-example to main:

I've been playing around locally with wasmtime/wasi's vfs support. I could of course create a new impl of the FileContents trait rather than making VecFileContents public, but it seems to me the latter strategy would probably be generally useful to other folks (feedback welcome!).

I can also create a separate example to demonstrate virtfs instead, if that seems better.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 26 2020 at 01:32):

joshuawarner32 updated PR #2236 from fs-example to main:

I've been playing around locally with wasmtime/wasi's vfs support. I could of course create a new impl of the FileContents trait rather than making VecFileContents public, but it seems to me the latter strategy would probably be generally useful to other folks (feedback welcome!).

I can also create a separate example to demonstrate virtfs instead, if that seems better.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 26 2020 at 01:55):

joshuawarner32 updated PR #2236 from fs-example to main:

I've been playing around locally with wasmtime/wasi's vfs support. I could of course create a new impl of the FileContents trait rather than making VecFileContents public, but it seems to me the latter strategy would probably be generally useful to other folks (feedback welcome!).

I can also create a separate example to demonstrate virtfs instead, if that seems better.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 27 2020 at 17:47):

joshuawarner32 updated PR #2236 from fs-example to main:

I've been playing around locally with wasmtime/wasi's vfs support. I could of course create a new impl of the FileContents trait rather than making VecFileContents public, but it seems to me the latter strategy would probably be generally useful to other folks (feedback welcome!).

I can also create a separate example to demonstrate virtfs instead, if that seems better.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 27 2020 at 17:49):

joshuawarner32 edited PR #2236 from fs-example to main:

This diff exposes VecFileContents to make it a little easier to build an in-memory filesytem for a wasi binary to interact with. It also adds an example to demonstrate how to do this.


Last updated: Nov 22 2024 at 16:03 UTC