Skip to content

Commit 283430d

Browse files
authored
Rollup merge of rust-lang#98753 - jyn514:dist-rust-dev, r=Mark-Simulacrum
Fix `x dist rust-dev` on a fresh checkout Previously, it required you to manually run `x build` first, because it assumed the LLVM binaries were already present.
2 parents 9bf7355 + cec6933 commit 283430d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bootstrap/dist.rs

+2
Original file line numberDiff line numberDiff line change
@@ -2025,6 +2025,8 @@ impl Step for RustDev {
20252025
let mut tarball = Tarball::new(builder, "rust-dev", &target.triple);
20262026
tarball.set_overlay(OverlayKind::LLVM);
20272027

2028+
builder.ensure(crate::native::Llvm { target });
2029+
20282030
let src_bindir = builder.llvm_out(target).join("bin");
20292031
// If updating this list, you likely want to change
20302032
// src/bootstrap/download-ci-llvm-stamp as well, otherwise local users

0 commit comments

Comments
 (0)