summary refs log tree commit diff
path: root/src/bootstrap/lib.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2020-01-31 12:30:17 -0500
committerMark Rousskov <mark.simulacrum@gmail.com>2020-01-31 12:31:09 -0500
commit31dcdc9e13c324d33a18db3aed7f4b3208ff3744 (patch)
treedbbaa8c18fb8181aa229b90b588f222d07ed1252 /src/bootstrap/lib.rs
parentff95473b5e8fe4a25f59778e6a071abc026e6447 (diff)
downloadrust-31dcdc9e13c324d33a18db3aed7f4b3208ff3744.tar.gz
rust-31dcdc9e13c324d33a18db3aed7f4b3208ff3744.zip
Drop cfg(bootstrap) code
Diffstat (limited to 'src/bootstrap/lib.rs')
-rw-r--r--src/bootstrap/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index 1fee3fd9ac1..637323331f5 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -1026,7 +1026,7 @@ impl Build {
     }
 
     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