Struct wasmer_compiler_cranelift::Cranelift
source · [−]pub struct Cranelift { /* private fields */ }
Expand description
Global configuration options used to create an
wasmer_engine::Engine
and customize its behavior.
This structure exposes a builder-like interface and is primarily
consumed by wasmer_engine::Engine::new
.
Implementations
Creates a new configuration object with the default configuration specified.
Enable NaN canonicalization.
NaN canonicalization is useful when trying to run WebAssembly deterministically across different architectures.
The optimization levels when optimizing the IR.
Generates the ISA for the provided target
Trait Implementations
Pushes a middleware onto the back of the middleware chain.
Enable Position Independent Code (PIC). Read more
Enable compiler IR verification. Read more
Enable NaN canonicalization. Read more
Gets the default features for this compiler in the given target
Returns the size of the referenced value in bytes. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Cranelift
impl !UnwindSafe for Cranelift
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more