@@ -77,7 +77,7 @@ dependencies. It will ask you for confirmation before installing anything.
7777You can pass arguments to Miri after the first ` -- ` , and pass arguments to the
7878interpreted program or test suite after the second ` -- ` . For example, `cargo
7979miri 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.
8181
8282When running code via ` cargo miri ` , the ` miri ` config flag is set. You can
8383use 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:
152152 ** NOTE** : This entropy is not good enough for cryptographic use! Do not
153153 generate secret keys in Miri or perform other kinds of cryptographic
154154 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.
159159* ` -Zmiri-disable-isolation ` disables host host isolation. As a consequence,
160160 the program has access to host resources such as environment variables and
161161 randomness (and, eventually, file systems and more).
0 commit comments