Skip to content

Commit

Permalink
Rollup merge of rust-lang#98753 - jyn514:dist-rust-dev, r=Mark-Simula…
Browse files Browse the repository at this point in the history
…crum

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.
  • Loading branch information
RalfJung authored Jul 2, 2022
2 parents 9bf7355 + cec6933 commit 283430d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2025,6 +2025,8 @@ impl Step for RustDev {
let mut tarball = Tarball::new(builder, "rust-dev", &target.triple);
tarball.set_overlay(OverlayKind::LLVM);

builder.ensure(crate::native::Llvm { 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
Expand Down

0 comments on commit 283430d

Please sign in to comment.