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

This commit is contained in:
Nick Lewycky
2020-05-13 13:06:50 -07:00
parent 6e6196a34e
commit 486dedc601
2 changed files with 6 additions and 3 deletions

View File

@@ -46,7 +46,10 @@ pub struct LLVMConfig {
impl LLVMConfig {
/// 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;
let triple = Triple {
architecture: target.triple().architecture,
vendor: target.triple().vendor.clone(),