builder.execute_cli();
} else {
let builder = builder::Builder::new(&self);
- let _ = builder.execute_cli();
+ builder.execute_cli();
}
// Check for postponed failures from `test --no-fail-fast`.
.target_config
.get(&target)
.and_then(|t| t.musl_root.as_ref())
- .or(self.config.musl_root.as_ref())
+ .or_else(|| self.config.musl_root.as_ref())
.map(|p| &**p)
}
}
fn llvm_link_tools_dynamically(&self, target: Interned<String>) -> bool {
- (target.contains("linux-gnu") || target.contains("apple-darwin"))
+ target.contains("linux-gnu") || target.contains("apple-darwin")
}
/// Returns the `version` string associated with this compiler for Rust