Function wasmer_runtime_core_x::compile_with
source · pub fn compile_with(
wasm: &[u8],
compiler: &dyn Compiler
) -> CompileResult<Module>
Expand description
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.