File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -142,20 +142,20 @@ tracing) enabled.
142
142
The setup for a local rustc works as follows:
143
143
``` sh
144
144
# Clone the rust-lang/rust repo.
145
- git clone https://github.com/rust-lang/rust/ rustc
145
+ git clone https://github.com/rust-lang/rust rustc
146
146
cd rustc
147
147
cp config.toml.example config.toml
148
148
# Now edit `config.toml` and set `debug-assertions = true`.
149
149
150
- # Build a stage 2 rustc.
150
+ # Build a stage 1 rustc.
151
151
# This step can take 30 minutes or more.
152
- ./x.py build --stage 2 compiler/rustc
152
+ ./x.py build --stage 1 compiler/rustc
153
153
# If you change something, you can get a faster rebuild by doing
154
- ./x.py build --keep-stage 0 --stage 2 compiler/rustc
154
+ ./x.py build --keep-stage 0 --stage 1 compiler/rustc
155
155
# You may have to change the architecture in the next command
156
- rustup toolchain link custom build/x86_64-unknown-linux-gnu/stage2
156
+ rustup toolchain link stage1 build/x86_64-unknown-linux-gnu/stage1
157
157
# Now cd to your Miri directory, then configure rustup
158
- rustup override set custom
158
+ rustup override set stage1
159
159
```
160
160
161
161
With this, you should now have a working development setup! See
You can’t perform that action at this time.
0 commit comments