Crate wasmi_wasi

Crate wasmi_wasi 

Source
Expand description

This crate provides support for WASI preview1 for the Wasmi interpreter.

Use add_to_linker to add all supported WASI definitions to the Wasmi linker.

Re-exports§

pub use wasi_common;
pub use sync::*;

Modules§

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
WasiCtx
An Arc-wrapper around the wasi-common context to allow mutable access to the file descriptor table. This wrapper is only necessary due to the signature of fd_fdstat_set_flags; if that changes, there are a variety of improvements that can be made (TODO: https://github.com/bytecodealliance/wasmtime/issues/5643).

Enums§

WasmiGuestMemory
Representation of guest memory for wiggle-generated trait methods.

Traits§

WasiDir
WasiFile