From a7f65cdd0b8d2cd0eae4878008b02e94c3b05722 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Tue, 17 Dec 2024 08:57:30 -0800 Subject: [PATCH] Add suggestion for `--keep-stage 0` --- src/building/suggested.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/building/suggested.md b/src/building/suggested.md index c23965b98..cb97fd762 100644 --- a/src/building/suggested.md +++ b/src/building/suggested.md @@ -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