File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -144,8 +144,9 @@ The setup for a local rustc works as follows:
144
144
# Clone the rust-lang/rust repo.
145
145
git clone https://github.com/rust-lang/rust rustc
146
146
cd rustc
147
- cp config.toml.example config.toml
148
- # Now edit `config.toml` and set `debug-assertions = true`.
147
+ # Create a config.toml with defaults for working on miri.
148
+ ./x.py setup compiler
149
+ # Now edit `config.toml` and under `[rust]` set `debug-assertions = true`.
149
150
150
151
# Build a stage 1 rustc, and build the rustc libraries with that rustc.
151
152
# This step can take 30 minutes or more.
@@ -158,5 +159,8 @@ rustup toolchain link stage1 build/x86_64-unknown-linux-gnu/stage1
158
159
rustup override set stage1
159
160
```
160
161
162
+ For more information about building and configuring a local compiler,
163
+ see < https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html > .
164
+
161
165
With this, you should now have a working development setup! See
162
166
[ above] ( #building-and-testing-miri ) for how to proceed working on Miri.
You can’t perform that action at this time.
0 commit comments