Skip to content

Commit 766fbbb

Browse files
authored
Add suggestion for --keep-stage 0 (rust-lang#2164)
1 parent 8e495d4 commit 766fbbb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: src/building/suggested.md

+6
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,12 @@ You can also use `--keep-stage 1` when running tests. Something like this:
254254
- Initial test run: `./x test tests/ui`
255255
- Subsequent test run: `./x test tests/ui --keep-stage 1`
256256

257+
### Iterating the standard library with `--keep-stage`
258+
259+
If you are making changes to the standard library, you can use `./x build
260+
--keep-stage 0 library` to iteratively rebuild the standard library without
261+
rebuilding the compiler.
262+
257263
## Using incremental compilation
258264

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

0 commit comments

Comments
 (0)