Skip to content

Commit

Permalink
Add suggestion for --keep-stage 0 (#2164)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss authored Dec 17, 2024
1 parent 7f7ba48 commit 36ea4b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/building/suggested.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,12 @@ You can also use `--keep-stage 1` when running tests. Something like this:
- Initial test run: `./x test tests/ui`
- Subsequent test run: `./x test tests/ui --keep-stage 1`

### Iterating the standard library with `--keep-stage`

If you are making changes to the standard library, you can use `./x build
--keep-stage 0 library` to iteratively rebuild the standard library without
rebuilding the compiler.

## Using incremental compilation

You can further enable the `--incremental` flag to save additional time in
Expand Down

0 comments on commit 36ea4b4

Please sign in to comment.