about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRémy Rakic <remy.rakic+github@gmail.com>2023-01-03 20:21:49 +0000
committerRémy Rakic <remy.rakic+github@gmail.com>2023-01-03 20:21:49 +0000
commite0f5c6da1df52a64b80753bf33bae3176729ae52 (patch)
tree6c084a3f1d28b481bc5e88a1b65f43507cbbba42
parentc73a46c6bff445230a922e6b5e3018f87443bcbe (diff)
downloadrust-e0f5c6da1df52a64b80753bf33bae3176729ae52.tar.gz
rust-e0f5c6da1df52a64b80753bf33bae3176729ae52.zip
ensure lld's step unconditionally for RustDev component
-rw-r--r--src/bootstrap/dist.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
index 479bfeb8e85..68215790bed 100644
--- a/src/bootstrap/dist.rs
+++ b/src/bootstrap/dist.rs
@@ -2067,11 +2067,8 @@ impl Step for RustDev {
 
         builder.ensure(crate::native::Llvm { target });
 
-        // If the config has LLD enabled, ensure its step. We'll we want to package it, and use it
-        // in download-ci-llvm.
-        if builder.config.lld_enabled {
-            builder.ensure(crate::native::Lld { target });
-        }
+        // We want to package `lld` to use it with `download-ci-llvm`.
+        builder.ensure(crate::native::Lld { target });
 
         let src_bindir = builder.llvm_out(target).join("bin");
         // If updating this list, you likely want to change