@@ -77,7 +77,7 @@ dependencies. It will ask you for confirmation before installing anything.
77
77
You can pass arguments to Miri after the first ` -- ` , and pass arguments to the
78
78
interpreted program or test suite after the second ` -- ` . For example, `cargo
79
79
miri run -- -Zmiri-disable-validation` runs the program without validation of
80
- basic type invariants and references.
80
+ basic type invariants and without checking the aliasing of references.
81
81
82
82
When running code via ` cargo miri ` , the ` miri ` config flag is set. You can
83
83
use this to exclude test cases that will fail under Miri because they do things
@@ -152,10 +152,10 @@ Several `-Z` flags are relevant for Miri:
152
152
** NOTE** : This entropy is not good enough for cryptographic use! Do not
153
153
generate secret keys in Miri or perform other kinds of cryptographic
154
154
operations that rely on proper random numbers.
155
- * ` -Zmiri-disable-validation ` disables enforcing the validity invariant, which
156
- is enforced by default. This is mostly useful for debugging; it means Miri
157
- will miss bugs in your program. However, this can also help to make Miri run
158
- faster.
155
+ * ` -Zmiri-disable-validation ` disables enforcing validity invariants and
156
+ reference aliasing rules, which are enforced by default. This is mostly
157
+ useful for debugging. It means Miri will miss bugs in your program. However,
158
+ this can also help to make Miri run faster.
159
159
* ` -Zmiri-disable-isolation ` disables host host isolation. As a consequence,
160
160
the program has access to host resources such as environment variables and
161
161
randomness (and, eventually, file systems and more).
0 commit comments