about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-05-02 07:09:38 +0000
committerbors <bors@rust-lang.org>2021-05-02 07:09:38 +0000
commit6d4e3c1ed61ace03ba5d9ee9e4bfa87c1f586efe (patch)
tree030f553b38affefb32393e7f94be1bbf011b8751 /compiler/rustc_codegen_llvm/src/builder.rs
parente244e840f2ada19616ad3f18c388de9ea37a2550 (diff)
parent69f3ead6b0fde6e52f9b0207548c83fdc6b206cb (diff)
downloadrust-6d4e3c1ed61ace03ba5d9ee9e4bfa87c1f586efe.tar.gz
rust-6d4e3c1ed61ace03ba5d9ee9e4bfa87c1f586efe.zip
Auto merge of #84750 - jyn514:nix-cargo, r=Mark-Simulacrum
Don't download cargo twice when download-rustc is set

Previously, this caused a bug on NixOS:

1. bootstrap.py would download and patch stage0/cargo
2. bootstrap.py would download nightly cargo, but extract it to
   stage0/cargo instead of ci-rustc/cargo. It would still try (and fail) to patch ci-rustc/cargo.
3. bootstrap.py would fail to build rustbuild because stage0/cargo
   wasn't patched.

The "proper" fix is to extract nightly cargo to ci-rustc instead, but it
doesn't seem to be necessary at all, so this just skips downloading it
instead.

Fixes https://github.com/rust-lang/rust/issues/84702
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions