From ef41fc0d87253abab3ecd66c639f21620880c663 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Tue, 19 Dec 2023 11:02:34 +0100 Subject: [PATCH] bootstrapping: Clarify that stage0 std code is not executed to produce stage1 compiler (#1840) --- src/building/bootstrapping.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/building/bootstrapping.md b/src/building/bootstrapping.md index 1f66f08f..b6753de7 100644 --- a/src/building/bootstrapping.md +++ b/src/building/bootstrapping.md @@ -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`).