about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/bootstrap/lib.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index 97552224103..5e4bedbeb28 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -829,11 +829,7 @@ impl Build {
             && !target.contains("msvc")
         {
             Some(self.cc(target))
-        } else if can_use_lld
-            && self.config.use_lld
-            && target.contains("pc-windows-msvc")
-            && self.build == target
-        {
+        } else if can_use_lld && self.config.use_lld && self.build == target {
             Some(&self.initial_lld)
         } else {
             None