[][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


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(
    target: &Target,
    compile_info: &mut CompileModuleInfo,
    _module_translation: &ModuleTranslationState,
    function_body_inputs: PrimaryMap<LocalFunctionIndex, FunctionBodyData<'_>>
) -> Result<Compilation, CompileError>

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.