Skip to content

Commit 7f71c09

Browse files
committed
Name rustbuild instead of saying 'the bootstrap binary'
1 parent 6353694 commit 7f71c09

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/building/bootstrapping.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ When you use the bootstrap system, you'll call it through `x.py`.
5757
However, most of the code lives in `src/bootstrap`.
5858
`bootstrap` has a difficult problem: it is written in Rust, but yet it is run
5959
before the rust compiler is built! To work around this, there are two
60-
components of bootstrap: the main one written in rust, and `bootstrap.py`.
60+
components of bootstrap: the main one written in Rust, called `rustbuild`,
61+
and `bootstrap.py`.
6162
`bootstrap.py` is what gets run by x.py. It takes care of downloading the
62-
`stage0` compiler, which will then build the bootstrap binary written in
63-
Rust.
63+
bootstrap compiler, which will then compile `rustbuild`.
6464

6565
Because there are two separate codebases behind `x.py`, they need to
66-
be kept in sync. In particular, both `bootstrap.py` and the bootstrap binary
66+
be kept in sync. In particular, both `bootstrap.py` and `rustbuild`
6767
parse `config.toml` and read the same command line arguments. `bootstrap.py`
6868
keeps these in sync by setting various environment variables, and the
6969
programs sometimes to have add arguments that are explicitly ignored, to be

0 commit comments

Comments
 (0)