Skip to content

Commit 14684e6

Browse files
committed
Add -Zmiri-disable-weak-memory-emulation to README
1 parent 3dc9db2 commit 14684e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,13 @@ environment variable:
252252
can focus on other failures, but it means Miri can miss bugs in your program.
253253
Using this flag is **unsound**.
254254
* `-Zmiri-disable-data-race-detector` disables checking for data races. Using
255-
this flag is **unsound**.
255+
this flag is **unsound**. This implies `-Zmiri-disable-weak-memory-emulation`.
256256
* `-Zmiri-disable-stacked-borrows` disables checking the experimental
257257
[Stacked Borrows] aliasing rules. This can make Miri run faster, but it also
258258
means no aliasing violations will be detected. Using this flag is **unsound**
259259
(but the affected soundness rules are experimental).
260+
* `-Zmiri-disable-weak-memory-emulation` disables the emulation of some C++11 weak
261+
memory effects.
260262
* `-Zmiri-disable-validation` disables enforcing validity invariants, which are
261263
enforced by default. This is mostly useful to focus on other failures (such
262264
as out-of-bounds accesses) first. Setting this flag means Miri can miss bugs

0 commit comments

Comments
 (0)