Skip to content

Commit 27b763f

Browse files
committed
Mention why 'mostly' instead of 'always'
1 parent 42b0089 commit 27b763f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/building/bootstrapping.md

+3
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,9 @@ The `rustc` generated by the stage0 compiler is linked to the freshly-built
209209
so that `rustc` can use features added to std immediately after their addition,
210210
without need for them to get into the downloaded beta.
211211

212+
The only time `rustc` uses `cfg(bootstrap)` is when it adds internal lints
213+
that use diagnostic items. This happens very rarely.
214+
212215
### Directories and artifacts generated by x.py
213216

214217
The following tables indicate the outputs of various stage actions:

0 commit comments

Comments
 (0)