Crate wasmtime_wasi[−][src]
Expand description
wasmtime-wasi
now supports using multiple snapshots to interface to the
same WasiCtx
!
wasmtime_wasi::Wasi::new(&Store, WasiCtx)
is a struct which owns your
WasiCtx
and provides linkage to every available snapshot.
Individual snapshots are available through
wasmtime_wasi::snapshots::preview_{0, 1}::Wasi::new(&Store, Rc<RefCell<WasiCtx>>)
.
Modules
snapshots | |
sync | Re-export the commonly used wasi-cap-std-sync crate here. This saves consumers of this library from having to keep additional dependencies in sync. |
Structs
Error | The |
Wasi | An instantiated instance of all available wasi exports. Presently includes both the “preview1” snapshot and the “unstable” (preview0) snapshot. |
WasiCtx | |
WasiCtxBuilder |
Traits
WasiDir | |
WasiFile |