Module wasmer_wasix::utils
source ยท Re-exportsยง
pub use self::dummy_waker::WasiDummyWaker;
pub use self::thread_parker::WasiParkingLot;
Modulesยง
- dummy_waker ๐
- owned_mutex_guard ๐
- thread_parker ๐
Enumsยง
- The version of WASI. This is determined by the imports namespace string.
Constantsยง
- SNAPSHOT0_NAMESPACE ๐Namespace for the
Snapshot0
version. - SNAPSHOT1_NAMESPACE ๐Namespace for the
Snapshot1
version. - WASIX_32V1_NAMESPACE ๐Namespace for the
wasix
version. - WASIX_64V1_NAMESPACE ๐Namespace for the
wasix
version. - Namespace for the
wasix
version.
Functionsยง
- Detect the version of WASI being used based on the import namespaces.
- Like
get_wasi_version
but detects multiple WASI versions in a single module. Thusstrict
behaves differently in this function as multiple versions are always supported.strict
indicates whether non-WASI imports should trigger a failure or be ignored. - Check if a provided module is compiled for some version of WASI. Use
get_wasi_version
to find out which version of WASI the module is. - Returns if the module is WASIX or not
- Creates a random xxhash for the module