Skip to content

Commit

Permalink
Use fewer stages in bootstrapping docs
Browse files Browse the repository at this point in the history
After rust-lang/rust#73964, they're redundant.
  • Loading branch information
jyn514 committed Aug 31, 2020
1 parent 76efc9b commit d6606d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/building/bootstrapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The `stage2` compiler is the one distributed with `rustup` and all other
install methods. However, it takes a very long time to build because one must
first build the new compiler with an older compiler and then use that to
build the new compiler with itself. For development, you usually only want
the `stage1` compiler: `x.py build --stage 1 library/std`.
the `stage1` compiler: `x.py build library/std`.

## Complications of bootstrapping

Expand Down Expand Up @@ -196,7 +196,7 @@ later copied into stage2 as well (both the compiler's `libdir` and the
This `std` is pretty much necessary for any useful work with the compiler.
Specifically, it's used as the `std` for programs compiled by the newly compiled
compiler (so when you compile `fn main() { }` it is linked to the last `std`
compiled with `x.py build --stage 1 library/std`).
compiled with `x.py build library/std`).

The `rustc` generated by the stage0 compiler is linked to the freshly-built
`std`, which means that for the most part only `std` needs to be cfg-gated,
Expand Down

0 comments on commit d6606d5

Please sign in to comment.