Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 9e7f3cd

Browse files
committed
Document MIRI_AUTO_OPS
1 parent bfa2ff6 commit 9e7f3cd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,9 @@ Some native rustc `-Z` flags are also very relevant for Miri:
393393

394394
Moreover, Miri recognizes some environment variables:
395395

396+
* `MIRI_AUTO_OPS` indicates whether the automatic execution of rustfmt, clippy and rustup-toolchain
397+
should be skipped. If it is set to any value, they are skipped. This is used for avoiding
398+
infinite recursion in `./miri` and to allow automated IDE actions to avoid the auto ops.
396399
* `MIRI_LOG`, `MIRI_BACKTRACE` control logging and backtrace printing during
397400
Miri executions, also [see "Testing the Miri driver" in `CONTRIBUTING.md`][testing-miri].
398401
* `MIRIFLAGS` (recognized by `cargo miri` and the test suite) defines extra

0 commit comments

Comments
 (0)