bootstrapping: Clarify that stage0 std code is not executed to produce stage1 compiler (#1840)

This commit is contained in:
Martin Nordholts 2023-12-19 11:02:34 +01:00 committed by GitHub
parent d53f2f6cc4
commit af59355e3e
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ which `x.py` will download for you.
(You can also configure `x.py` to use something else.)
The stage0 compiler is then used only to compile `src/bootstrap`, `std`, and `rustc`.
When compiling `rustc`, the stage0 compiler uses the freshly compiled `std`.
When assembling the libraries and binaries that will become the stage1 `rustc`
compiler, the freshly compiled `std` and `rustc` are used.
There are two concepts at play here:
a compiler (with its set of dependencies)
and its 'target' or 'object' libraries (`std` and `rustc`).