diff options
| author | Daira Hopwood <daira@jacaranda.org> | 2021-09-19 14:27:49 +0100 |
|---|---|---|
| committer | Daira Hopwood <daira@jacaranda.org> | 2021-09-19 14:50:58 +0100 |
| commit | a627b4f2bfb3012bd69650ee7defc9ef2ef2ec1e (patch) | |
| tree | d7732978ce3a119fc7cdb730fc7eee4f64e7432b /src | |
| parent | 3bca7230ff1ec35db25f2547cf2e83a6f450e923 (diff) | |
| download | rust-a627b4f2bfb3012bd69650ee7defc9ef2ef2ec1e.tar.gz rust-a627b4f2bfb3012bd69650ee7defc9ef2ef2ec1e.zip | |
[bootstrap] Improve the error message when `ninja` is not found to link to installation instructions.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/lib.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index a4735d54be0..9302217297b 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -1494,8 +1494,12 @@ impl Build { { eprintln!( " -Couldn't find required command: ninja -You should install ninja, or set `ninja=false` in config.toml in the `[llvm]` section. +Couldn't find required command: ninja (or ninja-build) + +You should install ninja as described at +<https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages>, +or set `download-ci-llvm = true` in the `[llvm]` section of `config.toml` +to download LLVM rather than building it. " ); std::process::exit(1); |
