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.
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.
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.
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.
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: Dec 23 2024 at 12:05 UTC