[][src]Struct wasmer_compiler_singlepass::SinglepassCompiler

pub struct SinglepassCompiler { /* fields omitted */ }

A compiler that compiles a WebAssembly module with Singlepass. It does the compilation in one pass

Implementations

impl SinglepassCompiler[src]

pub fn new(config: Singlepass) -> Self[src]

Creates a new Singlepass compiler

Trait Implementations

impl Compiler for SinglepassCompiler[src]

pub fn compile_module(
    &self,
    target: &Target,
    compile_info: &mut CompileModuleInfo,
    _module_translation: &ModuleTranslationState,
    function_body_inputs: PrimaryMap<LocalFunctionIndex, FunctionBodyData<'_>>
) -> Result<Compilation, CompileError>
[src]

Compile the module using Singlepass, 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> Pointable for T

type Init = T

The type for initializers.

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.