Trait wasmtime_environ::Compiler [−][src]
An implementation of a compiler from parsed WebAssembly module to native code.
Required methods
fn compile_module(
translation: &ModuleTranslation<'_>,
isa: &dyn TargetIsa,
cache_config: &CacheConfig
) -> Result<(Compilation, Relocations, ModuleAddressMap, ValueLabelsRanges, PrimaryMap<DefinedFuncIndex, StackSlots>, Traps, StackMaps), CompileError>[src]
translation: &ModuleTranslation<'_>,
isa: &dyn TargetIsa,
cache_config: &CacheConfig
) -> Result<(Compilation, Relocations, ModuleAddressMap, ValueLabelsRanges, PrimaryMap<DefinedFuncIndex, StackSlots>, Traps, StackMaps), CompileError>
Compile a parsed module with the given TargetIsa.
Implementors
impl Compiler for Cranelift[src]
fn compile_module(
translation: &ModuleTranslation<'_>,
isa: &dyn TargetIsa,
cache_config: &CacheConfig
) -> Result<(Compilation, Relocations, ModuleAddressMap, ValueLabelsRanges, PrimaryMap<DefinedFuncIndex, StackSlots>, Traps, StackMaps), CompileError>[src]
translation: &ModuleTranslation<'_>,
isa: &dyn TargetIsa,
cache_config: &CacheConfig
) -> Result<(Compilation, Relocations, ModuleAddressMap, ValueLabelsRanges, PrimaryMap<DefinedFuncIndex, StackSlots>, Traps, StackMaps), CompileError>
Compile the module using Cranelift, producing a compilation result with associated relocations.