about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorJoshua Nelson <github@jyn.dev>2023-04-09 13:05:30 -0500
committerjyn <github@jyn.dev>2023-04-29 02:59:41 -0500
commitd50ce1536cf9ce101e08e1f9913076762a9390a6 (patch)
treea3c86256dedfb34a4f04a3a566818c6911255254 /compiler/rustc_parse/src
parent572c0d553f2bd1b934b08fe240310112369a5c76 (diff)
downloadrust-d50ce1536cf9ce101e08e1f9913076762a9390a6.tar.gz
rust-d50ce1536cf9ce101e08e1f9913076762a9390a6.zip
download-rustc: Give a better error message if artifacts can't be downloaded
Before:
```
downloading https://ci-artifacts.rust-lang.org/rustc-builds/bf5cad8e775fb326465e5c1b98693e5d259da156/rust-std-nightly-x86_64-unknown-linux-gnu.tar.xz
curl: (22) The requested URL returned error: 404
```

After:
```
downloading https://ci-artifacts.rust-lang.org/rustc-builds/bf5cad8e775fb326465e5c1b98693e5d259da156/rust-std-nightly-x86_64-unknown-linux-gnu.tar.xz
curl: (22) The requested URL returned error: 404

error: failed to download pre-built rustc from CI

note: old builds get deleted after a certain time
help: if trying to compile an old commit of rustc, disable `download-rustc` in config.toml:

[rust]
download-rustc = false
```
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions