Skip to content

Commit 8801144

Browse files
committedFeb 8, 2024
better error message on download CI LLVM failure
Signed-off-by: onur-ozkan <work@onurozkan.dev>
1 parent 1280928 commit 8801144

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎src/bootstrap/src/core/download.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -720,8 +720,10 @@ download-rustc = false
720720
if !tarball.exists() {
721721
let help_on_error = "ERROR: failed to download llvm from ci
722722
723-
HELP: old builds get deleted after a certain time
724-
HELP: if trying to compile an old commit of rustc, disable `download-ci-llvm` in config.toml:
723+
HELP: There could be two reasons behind this:
724+
1) The host triple is not supported for `download-ci-llvm`.
725+
2) Old builds get deleted after a certain time.
726+
HELP: In either case, disable `download-ci-llvm` in your config.toml:
725727
726728
[llvm]
727729
download-ci-llvm = false

0 commit comments

Comments
 (0)