From 1d1b1ebefdc634054e5922ccf0b53bf3b0321cc3 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Fri, 4 Jun 2021 08:32:03 -0400 Subject: [PATCH 1/2] Note that `ninja = false` goes under `[llvm]` --- src/bootstrap/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 2960dd3df6bf4..b84621d1d125b 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -1366,7 +1366,7 @@ impl Build { eprintln!( " Couldn't find required command: ninja -You should install ninja, or set ninja=false in config.toml +You should install ninja, or set ninja=false in config.toml under the [llvm] section. " ); std::process::exit(1); From 3ed7f3f3745be54794fd7f54315a48fe6bb4014a Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Fri, 4 Jun 2021 12:07:56 -0400 Subject: [PATCH 2/2] Improve error message Co-authored-by: Josh Triplett --- src/bootstrap/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index b84621d1d125b..1ea29a829c270 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -1366,7 +1366,7 @@ impl Build { eprintln!( " Couldn't find required command: ninja -You should install ninja, or set ninja=false in config.toml under the [llvm] section. +You should install ninja, or set `ninja=false` in config.toml in the `[llvm]` section. " ); std::process::exit(1);