Skip to content

Commit fa3ffbf

Browse files
jyn514camelid
authored andcommitted
Don't use "incremental" to refer to --keep-stage
`-C incremental` is sound and --keep-stage is not.
1 parent af134d2 commit fa3ffbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/building/suggested.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,13 @@ lets you use `cargo fmt`.
136136
[the section on vscode]: suggested.md#configuring-rust-analyzer-for-rustc
137137
[the section on rustup]: how-to-build-and-run.md?highlight=rustup#creating-a-rustup-toolchain
138138

139-
## Incremental builds with `--keep-stage`.
139+
## Faster builds with `--keep-stage`.
140140

141141
Sometimes just checking
142142
whether the compiler builds is not enough. A common example is that
143143
you need to add a `debug!` statement to inspect the value of some
144144
state or better understand the problem. In that case, you really need
145-
a full build. By leveraging incremental, though, you can often get
145+
a full build. By bypassing bootstrap's cache invalidation, you can often get
146146
these builds to complete very fast (e.g., around 30 seconds). The only
147147
catch is this requires a bit of fudging and may produce compilers that
148148
don't work (but that is easily detected and fixed).

0 commit comments

Comments
 (0)