Skip to content

Commit 2124a85

Browse files
committed
Don't use a whitelist for use_lld
1 parent 95318f8 commit 2124a85

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/bootstrap/lib.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -829,11 +829,7 @@ impl Build {
829829
&& !target.contains("msvc")
830830
{
831831
Some(self.cc(target))
832-
} else if can_use_lld
833-
&& self.config.use_lld
834-
&& target.contains("pc-windows-msvc")
835-
&& self.build == target
836-
{
832+
} else if can_use_lld && self.config.use_lld && self.build == target {
837833
Some(&self.initial_lld)
838834
} else {
839835
None

0 commit comments

Comments
 (0)