[][src]Function wasmer_runtime::compile_with

pub fn compile_with(
    wasm: &[u8],
    compiler: &dyn Compiler
) -> Result<Module, CompileError>

Compile a Module using the provided compiler from WebAssembly binary code. This function is useful if it is necessary to a compile a module before it can be instantiated and must be used if you wish to use a different backend from the default.