[][src]Struct wasmer_compiler_singlepass::Singlepass

pub struct Singlepass { /* fields omitted */ }

Implementations

impl Singlepass[src]

pub fn new() -> Self[src]

Creates a new configuration object with the default configuration specified.

pub fn enable_stack_check(&mut self, enable: bool) -> &mut Self[src]

Enable stack check.

When enabled, an explicit stack depth check will be performed on entry to each function to prevent stack overflow.

Note that this doesn't guarantee deterministic execution across different platforms.

pub fn canonicalize_nans(&mut self, enable: bool) -> &mut Self[src]

Enable NaN canonicalization.

NaN canonicalization is useful when trying to run WebAssembly deterministically across different architectures.

Trait Implementations

impl Clone for Singlepass[src]

impl CompilerConfig for Singlepass[src]

fn compiler(&self) -> Box<dyn Compiler + Send>[src]

Transform it into the compiler

fn default_features_for_target(&self, _target: &Target) -> Features[src]

Gets the default features for this compiler in the given target

fn push_middleware(&mut self, middleware: Arc<dyn FunctionMiddlewareGenerator>)[src]

Pushes a middleware onto the back of the middleware chain.

impl Debug for Singlepass[src]

impl Default for Singlepass[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.