We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d8eb301 + 21c624a commit 9caf08fCopy full SHA for 9caf08f
src/bootstrap/builder.rs
@@ -1041,15 +1041,11 @@ impl<'a> Builder<'a> {
1041
}
1042
1043
1044
- // FIXME: Don't use LLD with MSVC if we're compiling libtest, since it fails to link it.
1045
- // See https://github.com/rust-lang/rust/issues/68647.
1046
- let can_use_lld = mode != Mode::Std;
1047
-
1048
- if let Some(host_linker) = self.linker(compiler.host, can_use_lld) {
+ if let Some(host_linker) = self.linker(compiler.host, true) {
1049
cargo.env("RUSTC_HOST_LINKER", host_linker);
1050
1051
1052
- if let Some(target_linker) = self.linker(target, can_use_lld) {
+ if let Some(target_linker) = self.linker(target, true) {
1053
let target = crate::envify(&target.triple);
1054
cargo.env(&format!("CARGO_TARGET_{}_LINKER", target), target_linker);
1055
0 commit comments