File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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
162162For more information about building and configuring a local compiler,
You can’t perform that action at this time.
0 commit comments