File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,14 @@ rustup toolchain link stage2 build/x86_64-unknown-linux-gnu/stage2
206
206
rustup override set stage2
207
207
```
208
208
209
+ Important: You need to delete the Miri cache when you change the stdlib; otherwise the
210
+ old, chached version will be used. On Linux, the cache is located at ` ~/.cache/miri ` ; the exact
211
+ location is printed after the library build: "A libstd for Miri is now available in ...".
212
+
213
+ Note: ` ./x.py --stage 2 compiler/rustc ` currently errors with `thread 'main'
214
+ panicked at 'fs::read(stamp) failed with No such file or directory (os error 2)`,
215
+ you can simply ignore that error; Miri will build anyway.
216
+
209
217
For more information about building and configuring a local compiler,
210
218
see < https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html > .
211
219
You can’t perform that action at this time.
0 commit comments