Skip to content

Commit e37cfc7

Browse files
committed
bootstrap: improve 'build --help' by explaining what exactly the last example does
1 parent a032cb8 commit e37cfc7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/bootstrap/flags.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,11 @@ Arguments:
198198
199199
For a quick build with a usable compile, you can pass:
200200
201-
./x.py build --stage 1 src/libtest");
201+
./x.py build --stage 1 src/libtest
202+
203+
This will first build everything once (like --stage 0 without further
204+
arguments would), and then use the compiler built in stage 0 to build
205+
src/libtest and its dependencies.");
202206
}
203207
"test" => {
204208
subcommand_help.push_str("\n

0 commit comments

Comments
 (0)