diff --git a/lib/compiler-llvm/src/config.rs b/lib/compiler-llvm/src/config.rs index 2925cb26b..21c92353f 100644 --- a/lib/compiler-llvm/src/config.rs +++ b/lib/compiler-llvm/src/config.rs @@ -68,10 +68,7 @@ pub struct LLVMConfig { impl LLVMConfig { /// Creates a new configuration object with the default configuration /// specified. - pub fn new(mut features: Features, target: Target) -> Self { - // Override the default multi-value switch - features.multi_value = false; - + pub fn new(features: Features, target: Target) -> Self { let operating_system = if target.triple().operating_system == wasmer_compiler::OperatingSystem::Darwin { // LLVM detects static relocation + darwin + 64-bit and diff --git a/tests/compilers/wast.rs b/tests/compilers/wast.rs index d8c55f6fa..9628ced42 100644 --- a/tests/compilers/wast.rs +++ b/tests/compilers/wast.rs @@ -47,8 +47,8 @@ fn run_wast(wast_path: &str, compiler: &str) -> anyhow::Result<()> { // native.set_deterministic_prefixer(native_prefixer); // let store = Store::new(Arc::new(native)); let mut wast = Wast::new_with_spectest(store); - if compiler == "singlepass" || compiler == "llvm" { - // We don't support multivalue yet in singlepass or llvm + if compiler == "singlepass" { + // We don't support multivalue yet in singlepass wast.allow_instantiation_failures(&[ "Validation error: invalid result arity: func type returns multiple values", "Validation error: blocks, loops, and ifs accept no parameters when multi-value is not enabled"