[][src]Struct wasmtime_environ::cranelift::Cranelift

pub struct Cranelift;

A compiler that compiles a WebAssembly module with Cranelift, translating the Wasm to Cranelift IR, optimizing it and then translating to assembly.

Trait Implementations

impl Compiler for Cranelift[src]

fn compile_module(
    module: &Module,
    module_translation: &ModuleTranslationState,
    function_body_inputs: PrimaryMap<DefinedFuncIndex, FunctionBodyData>,
    isa: &dyn TargetIsa,
    generate_debug_info: bool,
    cache_config: &CacheConfig
) -> Result<(Compilation, Relocations, ModuleAddressMap, ValueLabelsRanges, PrimaryMap<DefinedFuncIndex, StackSlots>, Traps, FrameLayouts), CompileError>
[src]

Compile the module using Cranelift, producing a compilation result with associated relocations.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.