Add suggestion for `--keep-stage 0` (#2164)

This commit is contained in:
Eric Huss 2024-12-17 09:00:38 -08:00 committed by GitHub
parent 8e495d4b93
commit 766fbbbe3d
1 changed files with 6 additions and 0 deletions

View File

@ -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