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
150150` rust-lang/rust ` repository checkout. Note that changing files in that directory
151151does not automatically trigger a re-build of the standard library; you have to
152152clear 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 ` ).
154155
155156### Benchmarking
156157
Original file line number Diff line number Diff line change @@ -432,7 +432,9 @@ Moreover, Miri recognizes some environment variables:
432432 must point to the `library` subdirectory of a `rust-lang/rust` repository
433433 checkout. Note that changing files in that directory does not automatically
434434 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`).
436438* `MIRI_SYSROOT` (recognized by `cargo miri` and the Miri driver) indicates the sysroot to use. When
437439 using `cargo miri`, only set this if you do not want to use the automatically created sysroot. For
438440 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