Skip to content

Commit

Permalink
rustbuild: Add small description of --keep-stage
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed Dec 15, 2016
1 parent 4e696ed commit 0e01427
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/bootstrap/README.md
Expand Up @@ -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:
Expand Down

0 comments on commit 0e01427

Please sign in to comment.