diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-07-08 08:00:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-08 08:00:39 +0200 |
| commit | 6c6791a45831f2c15367fb96d09ea18f756d621e (patch) | |
| tree | 7a0b9a8e8b14becef9a8d7d9cccfe31e63b1d06d /compiler/rustc_codegen_llvm/src/context.rs | |
| parent | 5dcd28cd1964969d605cddfcaec102006aa020c9 (diff) | |
| parent | 75dfd5e1c1a51c44c8eb8d7474879f6ae5969085 (diff) | |
| download | rust-6c6791a45831f2c15367fb96d09ea18f756d621e.tar.gz rust-6c6791a45831f2c15367fb96d09ea18f756d621e.zip | |
Rollup merge of #98798 - jyn514:download-rustc-cached, r=Mark-Simulacrum
Fix caching bug in `download-rustc = true`
When moving this to rustbuild, I introduced a bug: if you had the file already downloaded, but
deleted the sysroot for whatever reason, rustbuil would fail to unpack the cached tarball.
This only affects people if they have a cached tarball, which is probably why we haven't seen an issue yet -
wiping `build/cache` would work around the issue, or just not deleting `build/$TARGET/stage2`.
Fixes the following error:
```
thread 'main' panicked at 'fs::read_dir(&lib_dir) failed with No such file or directory (os error 2) ("/home/jnelson/rust-lang/rust2/build/x86_64-unknown-linux-gnu/ci-rustc/lib")', config.rs:1563:20
```
r? ``@Mark-Simulacrum``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/context.rs')
0 files changed, 0 insertions, 0 deletions
