Skip to content

Commit b97c340

Browse files
committed
Auto merge of #1886 - camelid:stage2, r=RalfJung
Stage 2 seems to be required after all Reverts most of bb59980. See the discussion starting at #1340 (comment) for more.
2 parents 7a2f1ca + 78c0312 commit b97c340

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CONTRIBUTING.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,15 @@ cd rustc
148148
./x.py setup compiler
149149
# Now edit `config.toml` and under `[rust]` set `debug-assertions = true`.
150150

151-
# Build a stage 1 rustc, and build the rustc libraries with that rustc.
151+
# Build a stage 2 rustc, and build the rustc libraries with that rustc.
152152
# This step can take 30 minutes or more.
153-
./x.py build --stage 1 compiler/rustc
153+
./x.py build --stage 2 compiler/rustc
154154
# If you change something, you can get a faster rebuild by doing
155-
./x.py build --keep-stage 0 --stage 1 compiler/rustc
155+
./x.py build --keep-stage 0 --stage 2 compiler/rustc
156156
# You may have to change the architecture in the next command
157-
rustup toolchain link stage1 build/x86_64-unknown-linux-gnu/stage1
157+
rustup toolchain link stage2 build/x86_64-unknown-linux-gnu/stage2
158158
# Now cd to your Miri directory, then configure rustup
159-
rustup override set stage1
159+
rustup override set stage2
160160
```
161161

162162
For more information about building and configuring a local compiler,

0 commit comments

Comments
 (0)