@@ -66,13 +66,12 @@ The stage0 compiler is by default the very recent _beta_ `rustc` compiler and it
6666associated dynamic libraries, which ` ./x.py ` will download for you. (You can
6767also configure ` ./x.py ` to change stage0 to something else.)
6868
69- The stage0 compiler is then used only to compile [ ` src/bootstrap ` ] and [ ` compiler/rustc ` ] .
70- When assembling the libraries and binaries that will become the stage1 ` rustc ` compiler,
71- the freshly compiled ` rustc ` and beta ` std ` are used.
69+ The precompiled stage0 compiler is then used only to compile [ ` src/bootstrap ` ] and [ ` compiler/rustc ` ]
70+ with precompiled stage0 std.
7271
73- Note that to build the stage1 compiler we use the precompiled beta compiler and beta std from stage0 .
74- Therefore, to use a compiler with a std that is freshly built from the tree, you need to build the
75- stage2 compiler.
72+ Note that to build the stage1 compiler we use the precompiled stage0 compiler and std.
73+ Therefore, to use a compiler with a std that is freshly built from the tree, you need to
74+ build the stage2 compiler.
7675
7776There are two concepts at play here: a compiler (with its set of dependencies) and its
7877'target' or 'object' libraries (` std ` and ` rustc ` ). Both are staged, but in a staggered manner.
@@ -87,7 +86,7 @@ The rustc source code is then compiled with the `stage0` compiler to produce the
8786
8887### Stage 2: the truly current compiler
8988
90- We then rebuild our ` stage1 ` compiler with in-tree std to produce the ` stage2 `
89+ We then rebuild the compiler using ` stage1 ` compiler with in-tree std to produce the ` stage2 `
9190compiler.
9291
9392The ` stage1 ` compiler itself was built by precompiled ` stage0 ` compiler and std
@@ -194,8 +193,8 @@ include, but are not limited to:
194193 without building ` rustc ` from source ('build with ` stage0 ` , then test the
195194 artifacts'). If you're working on the standard library, this is normally the
196195 test command you want.
197- - ` ./x build --stage 0 ` means to build with the beta ` rustc ` .
198- - ` ./x doc --stage 0 ` means to document using the beta ` rustdoc ` .
196+ - ` ./x build --stage 0 ` means to build with the stage0 ` rustc ` .
197+ - ` ./x doc --stage 0 ` means to document using the stage0 ` rustdoc ` .
199198
200199#### Examples of what * not* to do
201200
@@ -442,6 +441,6 @@ compiler itself uses to run. These aren't actually used by artifacts the new
442441compiler generates. This step also copies the ` rustc ` and ` rustdoc ` binaries we
443442generated into ` build/$HOST/stage/bin ` .
444443
445- The ` stage1/bin/rustc ` is a fully functional compiler built with the beta compiler and std.
446- To use a compiler built entirely from source with the in-tree compiler and std, you need to build
447- the stage2 compiler, which is compiled using the stage1 compiler and std.
444+ The ` stage1/bin/rustc ` is a fully functional compiler built with stage0 (precompiled) compiler and std.
445+ To use a compiler built entirely from source with the in-tree compiler and std, you need to build the
446+ stage2 compiler, which is compiled using the stage1 (in-tree) compiler and std.
0 commit comments