Skip to content

Commit 8851f3c

Browse files
committed
Auto merge of #3354 - RalfJung:MIRI_LIB_SRC-change, r=RalfJung
we properly rebuild the sysroot now when MIRI_LIB_SRC contents change Thanks to RalfJung/rustc-build-sysroot#16
2 parents e87f825 + 974446e commit 8851f3c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/tools/miri/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,7 @@ Moreover, Miri recognizes some environment variables:
465465
* `MIRI_LIB_SRC` defines the directory where Miri expects the sources of the
466466
standard library that it will build and use for interpretation. This directory
467467
must point to the `library` subdirectory of a `rust-lang/rust` repository
468-
checkout. Note that changing files in that directory does not automatically
469-
trigger a re-build of the standard library; you have to clear the Miri build
470-
cache with `cargo miri clean` or deleting it manually (on Linux, `rm -rf ~/.cache/miri`;
471-
on Windows, `rmdir /S "%LOCALAPPDATA%\rust-lang\miri\cache"`;
472-
and on macOS, `rm -rf ~/Library/Caches/org.rust-lang.miri`).
468+
checkout.
473469
* `MIRI_SYSROOT` (recognized by `cargo miri` and the Miri driver) indicates the sysroot to use. When
474470
using `cargo miri`, this skips the automatic setup -- only set this if you do not want to use the
475471
automatically created sysroot. For directly invoking the Miri driver, this variable (or a

0 commit comments

Comments
 (0)