Skip to content

Commit b5ac6db

Browse files
committed
Mention why 'mostly' instead of 'always'
1 parent 08838d9 commit b5ac6db

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
@@ -195,6 +195,9 @@ The `rustc` generated by the stage0 compiler is linked to the freshly-built
195195
so that `rustc` can use features added to std immediately after their addition,
196196
without need for them to get into the downloaded beta.
197197

198+
The only time `rustc` uses `cfg(bootstrap)` is when it adds internal lints
199+
that use diagnostic items. This happens very rarely.
200+
198201
### Directories and artifacts generated by x.py
199202

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

0 commit comments

Comments
 (0)