From 766fbbbe3d4f447209885c84f53865d235596893 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Tue, 17 Dec 2024 09:00:38 -0800 Subject: [PATCH] Add suggestion for `--keep-stage 0` (#2164) --- src/building/suggested.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/building/suggested.md b/src/building/suggested.md index c23965b9..cb97fd76 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