Skip to content

Commit

Permalink
Don't use a whitelist for use_lld
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc committed Jan 29, 2020
1 parent 95318f8 commit 2124a85
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/bootstrap/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2124a85

Please sign in to comment.