Skip to content

Commit

Permalink
Note that stage1 is built using two different versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jyn514 committed Sep 15, 2020
1 parent 27b763f commit f799b3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/building/bootstrapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@ The `rustc` generated by the stage0 compiler is linked to the freshly-built
so that `rustc` can use features added to std immediately after their addition,
without need for them to get into the downloaded beta.

Note this is different from any other Rust program: stage1 `rustc`
is built by the _beta_ compiler, but using the _master_ version of libstd!

The only time `rustc` uses `cfg(bootstrap)` is when it adds internal lints
that use diagnostic items. This happens very rarely.

Expand Down

0 comments on commit f799b3d

Please sign in to comment.