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

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(
    translation: &ModuleTranslation<'_>,
    isa: &dyn TargetIsa,
    cache_config: &CacheConfig
) -> Result<(Compilation, Relocations, ModuleAddressMap, ValueLabelsRanges, PrimaryMap<DefinedFuncIndex, StackSlots>, Traps, StackMaps), CompileError>
[src]

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

Auto Trait Implementations

impl RefUnwindSafe for Cranelift

impl Send for Cranelift

impl Sync for Cranelift

impl Unpin for Cranelift

impl UnwindSafe for Cranelift

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> Pointable for T[src]

type Init = T

The type for initializers.

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

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.