Skip to content

Commit a8633eb

Browse files
authored
Rollup merge of #89096 - daira:improve-ninja-error-message, r=jyn514
[bootstrap] Improve the error message when `ninja` is not found to link to installation instructions fixes #89091 Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2 parents d7de8d2 + 23d6437 commit a8633eb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/bootstrap/lib.rs

+7-2
Original file line numberDiff line numberDiff line change
@@ -1494,8 +1494,13 @@ impl Build {
14941494
{
14951495
eprintln!(
14961496
"
1497-
Couldn't find required command: ninja
1498-
You should install ninja, or set `ninja=false` in config.toml in the `[llvm]` section.
1497+
Couldn't find required command: ninja (or ninja-build)
1498+
1499+
You should install ninja as described at
1500+
<https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages>,
1501+
or set `ninja = false` in the `[llvm]` section of `config.toml`.
1502+
Alternatively, set `download-ci-llvm = true` in that `[llvm]` section
1503+
to download LLVM rather than building it.
14991504
"
15001505
);
15011506
std::process::exit(1);

0 commit comments

Comments
 (0)