about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-09 19:21:17 +0100
committerGitHub <noreply@github.com>2024-02-09 19:21:17 +0100
commitc874b1a42435e2a7ec249861271aad18350d7af6 (patch)
treed97e4a6a983711165e4d07235c0baf3831f43bcb
parent434f08089521febb2825c2506a0c61d56f93bfe7 (diff)
parent8801144e3a4fab2c4af853f3b428b26c88fedd8b (diff)
downloadrust-c874b1a42435e2a7ec249861271aad18350d7af6.tar.gz
rust-c874b1a42435e2a7ec249861271aad18350d7af6.zip
Rollup merge of #120790 - onur-ozkan:better-error-message, r=wesleywiser
better error message on download CI LLVM failure

self-explanatory
-rw-r--r--src/bootstrap/src/core/download.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bootstrap/src/core/download.rs b/src/bootstrap/src/core/download.rs
index ec404ab8580..e63d60feff1 100644
--- a/src/bootstrap/src/core/download.rs
+++ b/src/bootstrap/src/core/download.rs
@@ -720,8 +720,10 @@ download-rustc = false
         if !tarball.exists() {
             let help_on_error = "ERROR: failed to download llvm from ci
 
-    HELP: old builds get deleted after a certain time
-    HELP: if trying to compile an old commit of rustc, disable `download-ci-llvm` in config.toml:
+    HELP: There could be two reasons behind this:
+        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]
     download-ci-llvm = false