better error message on download CI LLVM failure

Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
onur-ozkan 2024-02-08 19:42:23 +03:00
parent 1280928a99
commit 8801144e3a

View File

@ -720,8 +720,10 @@ fn download_ci_llvm(&self, llvm_sha: &str) {
if !tarball.exists() { if !tarball.exists() {
let help_on_error = "ERROR: failed to download llvm from ci let help_on_error = "ERROR: failed to download llvm from ci
HELP: old builds get deleted after a certain time HELP: There could be two reasons behind this:
HELP: if trying to compile an old commit of rustc, disable `download-ci-llvm` in config.toml: 1) The host triple is not supported for `download-ci-llvm`.
2) Old builds get deleted after a certain time.
HELP: In either case, disable `download-ci-llvm` in your config.toml:
[llvm] [llvm]
download-ci-llvm = false download-ci-llvm = false