Struct wasmer_compiler_singlepass::Singlepass [−][src]
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]
fn clone(&self) -> Singlepass
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl CompilerConfig for Singlepass
[src]
fn enable_pic(&mut self)
[src]
fn compiler(self: Box<Self>) -> Box<dyn Compiler>
[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 ModuleMiddleware>)
[src]
Pushes a middleware onto the back of the middleware chain.
pub fn enable_verifier(&mut self)
[src]
impl Debug for Singlepass
[src]
impl Default for Singlepass
[src]
fn default() -> Singlepass
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Singlepass
[src]
impl Send for Singlepass
[src]
impl Sync for Singlepass
[src]
impl Unpin for Singlepass
[src]
impl !UnwindSafe for Singlepass
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,