Skip to content

Commit 309f458

Browse files
committed
Auto merge of #121579 - RalfJung:miri, r=RalfJung
Miri subtree update r? `@ghost`
2 parents b0086f2 + 3fe1097 commit 309f458

19 files changed

+457
-320
lines changed

Cargo.lock

Lines changed: 85 additions & 159 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ Miri builds and vice-versa.
279279

280280
You may be running `cargo miri` with a different compiler version than the one
281281
used to build the custom libstd that Miri uses, and Miri failed to detect that.
282-
Try deleting `~/.cache/miri`.
282+
Try running `cargo miri clean`.
283283

284284
#### "no mir for `std::rt::lang_start_internal`"
285285

@@ -465,7 +465,7 @@ Moreover, Miri recognizes some environment variables:
465465
must point to the `library` subdirectory of a `rust-lang/rust` repository
466466
checkout. Note that changing files in that directory does not automatically
467467
trigger a re-build of the standard library; you have to clear the Miri build
468-
cache manually (on Linux, `rm -rf ~/.cache/miri`;
468+
cache with `cargo miri clean` or deleting it manually (on Linux, `rm -rf ~/.cache/miri`;
469469
on Windows, `rmdir /S "%LOCALAPPDATA%\rust-lang\miri\cache"`;
470470
and on macOS, `rm -rf ~/Library/Caches/org.rust-lang.miri`).
471471
* `MIRI_SYSROOT` (recognized by `cargo miri` and the Miri driver) indicates the sysroot to use. When

0 commit comments

Comments
 (0)