Skip to content

Commit

Permalink
better error message on download CI LLVM failure
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <work@onurozkan.dev>
  • Loading branch information
onur-ozkan committed Feb 8, 2024
1 parent 1280928 commit 132b0a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/bootstrap/src/core/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 CI LLVM in your config.toml:
[llvm]
download-ci-llvm = false
Expand Down

0 comments on commit 132b0a1

Please sign in to comment.