summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-11-26 17:32:50 -0500
committerNoah Lev <camelidcamel@gmail.com>2022-11-28 19:00:24 -0800
commitc5118a47d35fbb54bc18bb153898e9ba55616efe (patch)
tree2741e503e8abd6e74b11e7c8a9472e9199de77d4 /src/doc/rustc-dev-guide
parent198cfd748f6faca9763ccc7d8b2c7327a60732a1 (diff)
downloadrust-c5118a47d35fbb54bc18bb153898e9ba55616efe.tar.gz
rust-c5118a47d35fbb54bc18bb153898e9ba55616efe.zip
Don't use "incremental" to refer to `--keep-stage`
`-C incremental` is sound and --keep-stage is not.
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/building/suggested.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/suggested.md b/src/doc/rustc-dev-guide/src/building/suggested.md
index cb85450606f..a85229c6a50 100644
--- a/src/doc/rustc-dev-guide/src/building/suggested.md
+++ b/src/doc/rustc-dev-guide/src/building/suggested.md
@@ -136,13 +136,13 @@ lets you use `cargo fmt`.
 [the section on vscode]: suggested.md#configuring-rust-analyzer-for-rustc
 [the section on rustup]: how-to-build-and-run.md?highlight=rustup#creating-a-rustup-toolchain
 
-## Incremental builds with `--keep-stage`.
+## Faster builds with `--keep-stage`.
 
 Sometimes just checking
 whether the compiler builds is not enough. A common example is that
 you need to add a `debug!` statement to inspect the value of some
 state or better understand the problem. In that case, you really need
-a full build. By leveraging incremental, though, you can often get
+a full build. By bypassing bootstrap's cache invalidation, you can often get
 these builds to complete very fast (e.g., around 30 seconds). The only
 catch is this requires a bit of fudging and may produce compilers that
 don't work (but that is easily detected and fixed).