From 6eb205d591863f03e661f79ea3cb993f69eff844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Rakic?= Date: Wed, 23 Nov 2022 18:20:57 +0000 Subject: [PATCH] bootstrap dist: ensure LLD's step --- src/bootstrap/dist.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index 340aa78ebf9b..479bfeb8e856 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -2067,6 +2067,12 @@ 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 }); + } + let src_bindir = builder.llvm_out(target).join("bin"); // If updating this list, you likely want to change // src/bootstrap/download-ci-llvm-stamp as well, otherwise local users