Skip to content

Commit

Permalink
expand flag docs
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Oct 28, 2020
1 parent 19e78a6 commit 24ed42b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,11 @@ environment variable:
future use of it will error). This helps you in finding out why UB is
happening and where in your code would be a good place to look for it.
* `-Zmiri-track-raw-pointers` makes Stacked Borrows track a pointer tag even for
raw pointers. This can make valid code fail to pass the checks (when
integer-pointer casts are involved), but also can help identify latent
aliasing issues in code that Miri accepts by default.
raw pointers. This can make valid code fail to pass the checks, but also can
help identify latent aliasing issues in code that Miri accepts by default. You
can recognize false positives by "<untagged>" occurring in the message -- this
indicates a pointer that was cast from an integer, so Miri was unable to track
this pointer.

Some native rustc `-Z` flags are also very relevant for Miri:

Expand Down

0 comments on commit 24ed42b

Please sign in to comment.