File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -144,8 +144,8 @@ 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
149
150
150
# Build a stage 1 rustc, and build the rustc libraries with that rustc.
151
151
# This step can take 30 minutes or more.
@@ -158,5 +158,8 @@ rustup toolchain link stage1 build/x86_64-unknown-linux-gnu/stage1
158
158
rustup override set stage1
159
159
```
160
160
161
+ For more information about building and configuring a local compiler,
162
+ see < https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html > .
163
+
161
164
With this, you should now have a working development setup! See
162
165
[ above] ( #building-and-testing-miri ) for how to proceed working on Miri.
You can’t perform that action at this time.
0 commit comments