diff options
| author | Ulrik Sverdrup <bluss@users.noreply.github.com> | 2016-12-15 01:10:44 +0100 |
|---|---|---|
| committer | Ulrik Sverdrup <bluss@users.noreply.github.com> | 2016-12-15 01:19:17 +0100 |
| commit | 0e01427bba6e4f5ceef4531d239c5bbc6c5d8082 (patch) | |
| tree | 69c2b633f046666137c811bcbc57c2cc48969be6 | |
| parent | 4e696edc71fe72724f706af2cf827825d3a90c56 (diff) | |
| download | rust-0e01427bba6e4f5ceef4531d239c5bbc6c5d8082.tar.gz rust-0e01427bba6e4f5ceef4531d239c5bbc6c5d8082.zip | |
rustbuild: Add small description of --keep-stage
| -rw-r--r-- | src/bootstrap/README.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bootstrap/README.md b/src/bootstrap/README.md index d0b501e4d89..20c3a8d2851 100644 --- a/src/bootstrap/README.md +++ b/src/bootstrap/README.md @@ -42,6 +42,15 @@ The script accepts commands, flags, and filters to determine what to do: ./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 will execute the entire test suite by default, and otherwise it can be used to select which test suite is run: |
