File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,8 @@ is set the `MIRI_LIB_SRC` environment variable to the `library` folder of a
150
150
` rust-lang/rust ` repository checkout. Note that changing files in that directory
151
151
does not automatically trigger a re-build of the standard library; you have to
152
152
clear the Miri build cache manually (on Linux, ` rm -rf ~/.cache/miri ` ;
153
- and on Windows, ` rmdir /S "%LOCALAPPDATA%\rust-lang\miri\cache" ` ).
153
+ on Windows, ` rmdir /S "%LOCALAPPDATA%\rust-lang\miri\cache" ` ;
154
+ and on macOS, ` rm -rf ~/Library/Caches/org.rust-lang.miri ` ).
154
155
155
156
### Benchmarking
156
157
Original file line number Diff line number Diff line change @@ -432,7 +432,9 @@ Moreover, Miri recognizes some environment variables:
432
432
must point to the `library` subdirectory of a `rust-lang/rust` repository
433
433
checkout. Note that changing files in that directory does not automatically
434
434
trigger a re-build of the standard library; you have to clear the Miri build
435
- cache manually (on Linux, `rm -rf ~/.cache/miri`).
435
+ cache manually (on Linux, `rm -rf ~/.cache/miri`;
436
+ on Windows, `rmdir /S "%LOCALAPPDATA%\rust-lang\miri\cache"`;
437
+ and on macOS, `rm -rf ~/Library/Caches/org.rust-lang.miri`).
436
438
* `MIRI_SYSROOT` (recognized by `cargo miri` and the Miri driver) indicates the sysroot to use. When
437
439
using `cargo miri`, only set this if you do not want to use the automatically created sysroot. For
438
440
directly invoking the Miri driver, this variable (or a `--sysroot` flag) is mandatory.
You can’t perform that action at this time.
0 commit comments