packages/rust/rust-1.42.0-paranthesis-fix.patch

12 lines
505 B
Diff

--- rustc-1.42.0-src/src/bootstrap/lib.rs.orig 2020-03-16 07:53:20.020049512 +0100
+++ rustc-1.42.0-src/src/bootstrap/lib.rs 2020-03-16 07:57:05.967301100 +0100
@@ -1026,7 +1026,7 @@
}
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