Trait wasmtime_environ::Compiler[][src]

pub trait Compiler: Send + Sync {
    fn compile_function(
        &self,
        translation: &ModuleTranslation<'_>,
        index: DefinedFuncIndex,
        data: FunctionBodyData<'_>,
        isa: &dyn TargetIsa,
        tunables: &Tunables,
        types: &TypeTables
    ) -> Result<CompiledFunction, CompileError>; }
Expand description

An implementation of a compiler from parsed WebAssembly module to native code.

Required methods

Compile a function with the given TargetIsa.

Implementors