Function wasmer_wasix::runtime::load_module
source ยท pub async fn load_module(
engine: &Engine,
module_cache: &(dyn ModuleCache + Send + Sync),
wasm: &[u8],
wasm_hash: ModuleHash,
) -> Result<Module, SpawnError>
Expand description
Load a a Webassembly module, trying to use a pre-compiled version if possible.