Module wasi

Source
Expand description

Unofficial API for WASI integrating with the standard Wasm C API.

This API will be superseded by a standard WASI API when/if such a standard is created.

Re-exports§

pub use super::unstable::wasi::wasi_get_unordered_imports;

Structs§

wasi_config_t
wasi_env_t
wasi_filesystem_t

Enums§

wasi_version_t
The version of WASI. This is determined by the imports namespace string.

Functions§

wasi_config_arg
wasi_config_capture_stderr
wasi_config_capture_stdout
wasi_config_env
wasi_config_inherit_stderr
wasi_config_inherit_stdin
wasi_config_inherit_stdout
wasi_config_mapdir
wasi_config_new
wasi_config_preopen_dir
wasi_env_delete
Delete a wasi_env_t.
wasi_env_initialize_instance
wasi_env_new
Create a new WASI environment.
wasi_env_read_stderr
wasi_env_read_stdout
wasi_env_set_memoryDeprecated
Set the memory on a wasi_env_t.
wasi_filesystem_delete
wasi_filesystem_init_static_memory
wasi_get_imports
Non-standard function to get the imports needed for the WASI implementation ordered as expected by the wasm_module_t.
wasi_get_start_function
wasi_get_wasi_version