Skip to content

Commit e0f5c6d

Browse files
committed
ensure lld's step unconditionally for RustDev component
1 parent c73a46c commit e0f5c6d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/bootstrap/dist.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -2067,11 +2067,8 @@ impl Step for RustDev {
20672067

20682068
builder.ensure(crate::native::Llvm { target });
20692069

2070-
// If the config has LLD enabled, ensure its step. We'll we want to package it, and use it
2071-
// in download-ci-llvm.
2072-
if builder.config.lld_enabled {
2073-
builder.ensure(crate::native::Lld { target });
2074-
}
2070+
// We want to package `lld` to use it with `download-ci-llvm`.
2071+
builder.ensure(crate::native::Lld { target });
20752072

20762073
let src_bindir = builder.llvm_out(target).join("bin");
20772074
// If updating this list, you likely want to change

0 commit comments

Comments
 (0)