mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-10 14:48:27 +00:00
Emit trap info & disable multivalue
This commit is contained in:
@@ -28,7 +28,10 @@ pub struct SinglepassConfig {
|
||||
impl SinglepassConfig {
|
||||
/// Creates a new configuration object with the default configuration
|
||||
/// specified.
|
||||
pub fn new(features: Features, target: Target) -> Self {
|
||||
pub fn new(mut features: Features, target: Target) -> Self {
|
||||
// Override the default multi-value switch
|
||||
features.multi_value = false;
|
||||
|
||||
Self {
|
||||
enable_nan_canonicalization: true,
|
||||
enable_stack_check: false,
|
||||
|
||||
Reference in New Issue
Block a user