From e0f5c6da1df52a64b80753bf33bae3176729ae52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Rakic?= Date: Tue, 3 Jan 2023 20:21:49 +0000 Subject: [PATCH] ensure lld's step unconditionally for RustDev component --- src/bootstrap/dist.rs | 7 ++----- 1 file 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 @@ fn run(self, builder: &Builder<'_>) -> Option { 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