rustbuild: Add small description of --keep-stage

This commit is contained in:
Ulrik Sverdrup 2016-12-15 01:10:44 +01:00
parent 4e696edc71
commit 0e01427bba
1 changed files with 9 additions and 0 deletions

View File

@ -42,6 +42,15 @@ The script accepts commands, flags, and filters to determine what to do:
./x.py build --stage 0 src/libtest ./x.py build --stage 0 src/libtest
``` ```
If files are dirty that would normally be rebuilt from stage 0, that can be
overidden using `--keep-stage 0`. Using `--keep-stage n` will skip all steps
that belong to stage n or earlier:
```
# keep old build products for stage 0 and build stage 1
./x.py build --keep-stage 0 --stage 1
```
* `test` - a command for executing unit tests. Like the `build` command this * `test` - a command for executing unit tests. Like the `build` command this
will execute the entire test suite by default, and otherwise it can be used to will execute the entire test suite by default, and otherwise it can be used to
select which test suite is run: select which test suite is run: