[−][src]Struct wasmer_runtime::CompilerConfig
Configuration data for the compiler
Fields
symbol_map: Option<HashMap<u32, String, RandomState>>Symbol information generated from emscripten; used for more detailed debug messages
memory_bound_check_mode: MemoryBoundCheckModeHow to make the decision whether to emit bounds checks for memory accesses.
enforce_stack_check: boolWhether to generate explicit native stack checks against stack_lower_bound in InternalCtx.
Usually it's adequate to use hardware memory protection mechanisms such as mprotect on Unix to
prevent stack overflow. But for low-level environments, e.g. the kernel, faults are generally
not expected and relying on hardware memory protection would add too much complexity.
track_state: boolWhether to enable state tracking. Necessary for managed mode.
full_preemption: boolWhether to enable full preemption checkpoint generation.
This inserts checkpoints at critical locations such as loop backedges and function calls, allowing preemptive unwinding/task switching.
When enabled there can be a small amount of runtime performance overhead.
nan_canonicalization: boolAlways choose a unique bit representation for NaN. Enabling this makes execution deterministic but increases runtime overhead.
enable_verification: boolTurns on verification that is done by default when debug_assertions are enabled
(for example in 'debug' builds). Disabling this flag will make compilation faster
in debug mode at the cost of not detecting bugs in the compiler.
These verifications are disabled by default in 'release' builds.
features: Featurestriple: Option<String>cpu_name: Option<String>cpu_features: Option<String>backend_specific_config: Option<BackendCompilerConfig>generate_debug_info: boolTrait Implementations
impl Debug for CompilerConfig[src]
impl Default for CompilerConfig[src]
fn default() -> CompilerConfig[src]
Auto Trait Implementations
impl !RefUnwindSafe for CompilerConfig
impl !Send for CompilerConfig
impl !Sync for CompilerConfig
impl Unpin for CompilerConfig
impl !UnwindSafe for CompilerConfig
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,
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> Same<T> for T
type Output = T
Should always be Self
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.
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>,