wasmi_wasi 0.36.3

WASI library support for the wasmi interpreter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! 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.

mod guest_memory;

#[cfg(feature = "sync")]
pub mod sync;

pub use self::guest_memory::WasmiGuestMemory;
pub use wasi_common::{Error, WasiCtx, WasiDir, WasiFile};

/// Sync mode is the "default" of this crate, so we also export it at the top level.
#[cfg(feature = "sync")]
pub use sync::*;