Crate wasi_virt_layer

Crate wasi_virt_layer 

Source

Modules§

__private
file
memory
prelude
process
wasip1

Macros§

ConstFiles
__as_t
@through Iterate through the identifiers, replacing self with __self, and call the callback with all identifiers. @as_t Replace self with __self and call the callback with the identifier and type.
__memory_director_import_etc
__memory_director_wasm_access
import_wasm
By entering the names of the files to be combined, a bridge for the combination is created. You need to prepare as many Wasip1 instances on the virtual file system as the number of files to be combined.
non_recursive_wasi_snapshot_preview1
Typically, WASI ABI calls are made using plug!. However, there may be cases where you want to call the ABI directly from within plug!. Doing so would result in recursion. To address this, call the function through this macro. When calling a function through this macro, it becomes a proper WASI ABI call after plug is connected. This allows you to call the ABI without causing recursion.
plug_env
@block or @through Whether to import JavaScript runtime env from vfs, env is automatically imported even if you are not using it, so that you can block it @through if retrieving from JavaScript runtime.
plug_fs
plug_process