about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPietro Albini <pietro.albini@ferrous-systems.com>2022-06-13 15:17:19 +0200
committerPietro Albini <pietro.albini@ferrous-systems.com>2022-06-13 15:17:19 +0200
commitaf8c1e303f16b032655eaa15587adbdccaac7f3e (patch)
tree8593a9ef78fc8975b1a6916d018f01dbfa0cc6c7
parent083721a1a7365d3afe1521cd2661b2201aac0450 (diff)
downloadrust-af8c1e303f16b032655eaa15587adbdccaac7f3e.tar.gz
rust-af8c1e303f16b032655eaa15587adbdccaac7f3e.zip
fix error message for download-ci-llvm
-rw-r--r--src/bootstrap/native.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs
index 79f2338b7ab..2b0b7f65b07 100644
--- a/src/bootstrap/native.rs
+++ b/src/bootstrap/native.rs
@@ -179,13 +179,13 @@ fn download_ci_llvm(builder: &Builder<'_>, llvm_sha: &str) {
     let filename = format!("rust-dev-nightly-{}.tar.xz", builder.build.build.triple);
     let tarball = rustc_cache.join(&filename);
     if !tarball.exists() {
-        let help_on_error = "error: failed to download llvm from ci\n
-\nhelp: old builds get deleted after a certain time
-\nhelp: if trying to compile an old commit of rustc, disable `download-ci-llvm` in config.toml:
-\n
-\n[llvm]
-\ndownload-ci-llvm = false
-\n
+        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:
+
+[llvm]
+download-ci-llvm = false
 ";
         builder.download_component(base, &format!("{}/{}", url, filename), &tarball, help_on_error);
     }