Skip to content

Commit aa7d7d0

Browse files
committedJul 30, 2018
improve test stage documentation
1 parent f8d1dc8 commit aa7d7d0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎src/bootstrap/flags.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ Arguments:
261261
262262
./x.py build --stage 1 src/libtest
263263
264-
This will first build everything once (like --stage 0 without further
264+
This will first build everything once (like `--stage 0` without further
265265
arguments would), and then use the compiler built in stage 0 to build
266266
src/libtest and its dependencies.
267267
Once this is done, build/$ARCH/stage1 contains a usable compiler.",
@@ -293,10 +293,14 @@ Arguments:
293293
294294
./x.py test src/test/run-pass
295295
./x.py test src/libstd --test-args hash_map
296-
./x.py test src/libstd --stage 0
296+
./x.py test src/libstd --stage 0 --no-doc
297297
./x.py test src/test/ui --bless
298298
./x.py test src/test/ui --compare-mode nll
299299
300+
Note that `test src/test/* --stage N` does NOT depend on `build src/rustc --stage N`;
301+
just like `build src/libstd --stage N` it tests the compiler produced by the previous
302+
stage.
303+
300304
If no arguments are passed then the complete artifacts for that stage are
301305
compiled and tested.
302306

0 commit comments

Comments
 (0)
Please sign in to comment.