From e37cfc7dd29aeea001d006e7dbd1a53556f9f1de Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 6 Jun 2017 14:26:56 -0700 Subject: bootstrap: improve 'build --help' by explaining what exactly the last example does --- src/bootstrap/flags.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/bootstrap') diff --git a/src/bootstrap/flags.rs b/src/bootstrap/flags.rs index f100baa5d2c..3a265b2f3bb 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 -- cgit 1.4.1-3-g733a5 From 7359c791b50ebe0fa7ccf48faf5a272491c779e3 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 7 Jun 2017 22:08:48 -0700 Subject: bootstrap: further clarify build --help --- src/bootstrap/flags.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/bootstrap') diff --git a/src/bootstrap/flags.rs b/src/bootstrap/flags.rs index 3a265b2f3bb..56cbb4cecf2 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 -- cgit 1.4.1-3-g733a5