Revert "Ignore multi-value errors on LLVM too, for now."

This reverts commit 486dedc601.
This commit is contained in:
Nick Lewycky
2020-06-01 11:51:13 -07:00
parent a5f40c2375
commit 14188bed44
2 changed files with 3 additions and 6 deletions

View File

@@ -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