Skip to content

Commit cec6933

Browse files
committed
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.
1 parent acdcdfb commit cec6933

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bootstrap/dist.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2031,6 +2031,8 @@ impl Step for RustDev {
20312031
let mut tarball = Tarball::new(builder, "rust-dev", &target.triple);
20322032
tarball.set_overlay(OverlayKind::LLVM);
20332033

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

0 commit comments

Comments
 (0)