Skip to content

Commit c482a95

Browse files
committed
README: -Zmiri-unique-is-unique
1 parent 64efb23 commit c482a95

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
@@ -435,6 +435,9 @@ to Miri failing to detect cases of undefined behavior in a program.
435435
so with this flag.
436436
* `-Zmiri-force-page-size=<num>` overrides the default page size for an architecture, in multiples of 1k.
437437
`4` is default for most targets. This value should always be a power of 2 and nonzero.
438+
* `-Zmiri-unique-is-unique` performs additional aliasing checks for `core::ptr::Unique` to ensure
439+
that it could theoretically be considered `noalias`. This flag is experimental and has
440+
an effect only when used with `-Zmiri-tree-borrows`.
438441

439442
[function ABI]: https://doc.rust-lang.org/reference/items/functions.html#extern-function-qualifier
440443

0 commit comments

Comments
 (0)