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.
This commit is contained in:
Joshua Nelson 2022-06-30 23:05:45 -05:00
parent acdcdfb61b
commit cec6933d0d

View File

@ -2031,6 +2031,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