Re-exportsยง
pub use self::dummy_waker::WasiDummyWaker;pub use self::thread_parker::WasiParkingLot;
Modulesยง
- dummy_
waker ๐ - owned_
mutex_ ๐guard - store
- thread_
parker ๐
Enumsยง
- Wasi
Version - The version of WASI. This is determined by the imports namespace string.
Constantsยง
- SNAPSHO
T0_ ๐NAMESPACE - Namespace for the
Snapshot0version. - SNAPSHO
T1_ ๐NAMESPACE - Namespace for the
Snapshot1version. - WASIX_
32V1_ ๐NAMESPACE - Namespace for the
wasixversion. - WASIX_
64V1_ ๐NAMESPACE - Namespace for the
wasixversion. - WASIX_
HTTP_ ๐V1_ NAMESPACE - Namespace for the
wasixversion.
Functionsยง
- get_
wasi_ version - Detect the version of WASI being used based on the import namespaces.
- get_
wasi_ versions - Like
get_wasi_versionbut detects multiple WASI versions in a single module. Thusstrictbehaves differently in this function as multiple versions are always supported.strictindicates whether non-WASI imports should trigger a failure or be ignored. - is_
wasi_ module - Check if a provided module is compiled for some version of WASI.
Use
get_wasi_versionto find out which version of WASI the module is. - is_
wasix_ module - Returns if the module is WASIX or not
- map_
io_ err - map_
snapshot_ err