Skip to content

Commit 790876f

Browse files
committed
better error message on download CI LLVM failure
Signed-off-by: onur-ozkan <work@onurozkan.dev>
1 parent 1280928 commit 790876f

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: If trying to compile an old commit of rustc, rebase to recent commits. If you still get this error, your host triple most likely isn't supported for CI LLVM. Therefore, disable it in config.toml:
725727
726728
[llvm]
727729
download-ci-llvm = false

0 commit comments

Comments
 (0)