cranelift_wasm

Function translate_module

Source
pub fn translate_module<'data>(
    data: &'data [u8],
    environ: &mut dyn ModuleEnvironment<'data>,
) -> WasmResult<()>
Expand description

Translate a sequence of bytes forming a valid Wasm binary into a list of valid Cranelift IR Function.