Skip to content

Commit f799b3d

Browse files
committed
Note that stage1 is built using two different versions
1 parent 27b763f commit f799b3d

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+
Note this is different from any other Rust program: stage1 `rustc`
213+
is built by the _beta_ compiler, but using the _master_ version of libstd!
214+
212215
The only time `rustc` uses `cfg(bootstrap)` is when it adds internal lints
213216
that use diagnostic items. This happens very rarely.
214217

0 commit comments

Comments
 (0)