From e37cfc7dd29aeea001d006e7dbd1a53556f9f1de Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 6 Jun 2017 14:26:56 -0700 Subject: [PATCH 1/2] bootstrap: improve 'build --help' by explaining what exactly the last example does --- src/bootstrap/flags.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bootstrap/flags.rs b/src/bootstrap/flags.rs index f100baa5d2ca7..3a265b2f3bbb7 100644 --- a/src/bootstrap/flags.rs +++ b/src/bootstrap/flags.rs @@ -198,7 +198,11 @@ Arguments: For a quick build with a usable compile, you can pass: - ./x.py build --stage 1 src/libtest"); + ./x.py build --stage 1 src/libtest + + This will first build everything once (like --stage 0 without further + arguments would), and then use the compiler built in stage 0 to build + src/libtest and its dependencies."); } "test" => { subcommand_help.push_str("\n From 7359c791b50ebe0fa7ccf48faf5a272491c779e3 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 7 Jun 2017 22:08:48 -0700 Subject: [PATCH 2/2] bootstrap: further clarify build --help --- src/bootstrap/flags.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bootstrap/flags.rs b/src/bootstrap/flags.rs index 3a265b2f3bbb7..56cbb4cecf2a5 100644 --- a/src/bootstrap/flags.rs +++ b/src/bootstrap/flags.rs @@ -196,13 +196,14 @@ Arguments: ./x.py build ./x.py build --stage 1 - For a quick build with a usable compile, you can pass: + For a quick build of a usable compiler, you can pass: ./x.py build --stage 1 src/libtest This will first build everything once (like --stage 0 without further arguments would), and then use the compiler built in stage 0 to build - src/libtest and its dependencies."); + src/libtest and its dependencies. + Once this is done, build/$ARCH/stage1 contains a usable compiler."); } "test" => { subcommand_help.push_str("\n