We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ffb5c5 commit a2fbf39Copy full SHA for a2fbf39
src/bootstrap/lib.rs
@@ -863,7 +863,12 @@ impl Build {
863
&& !target.contains("msvc")
864
{
865
Some(self.cc(target))
866
- } else if can_use_lld && self.config.use_lld && self.build == target {
+ } else if target.contains("msvc")
867
+ && can_use_lld
868
+ && self.config.use_lld
869
+ && self.build == target
870
+ {
871
+ // Currently we support using LLD directly via `rust.use_lld` option only with MSVC
872
Some(&self.initial_lld)
873
} else {
874
None
0 commit comments