[][src]Function wasmer_runtime_core::compile_with

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

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.