mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-12 08:31:21 +00:00
Add switch to turn on/off NaN canonicalization.
This commit is contained in:
@ -132,6 +132,10 @@ pub struct CompilerConfig {
|
||||
/// When enabled there can be a small amount of runtime performance overhead.
|
||||
pub full_preemption: bool,
|
||||
|
||||
/// Whether to enable spec-compliant NaN canonicalization at all places.
|
||||
/// Enabling this increases runtime overhead.
|
||||
pub nan_canonicalization: bool,
|
||||
|
||||
pub features: Features,
|
||||
|
||||
// Target info. Presently only supported by LLVM.
|
||||
|
Reference in New Issue
Block a user