Skip to content

Commit 6eb205d

Browse files
committed
bootstrap dist: ensure LLD's step
1 parent 312c9a3 commit 6eb205d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/bootstrap/dist.rs

+6
Original file line numberDiff line numberDiff line change
@@ -2067,6 +2067,12 @@ 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+
}
2075+
20702076
let src_bindir = builder.llvm_out(target).join("bin");
20712077
// If updating this list, you likely want to change
20722078
// src/bootstrap/download-ci-llvm-stamp as well, otherwise local users

0 commit comments

Comments
 (0)