Skip to content

Commit

Permalink
ensure lld's step unconditionally for RustDev component
Browse files Browse the repository at this point in the history
  • Loading branch information
lqd committed Jan 3, 2023
1 parent c73a46c commit e0f5c6d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/bootstrap/dist.rs
Expand Up @@ -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
Expand Down

0 comments on commit e0f5c6d

Please sign in to comment.