Skip to content

Commit 03be413

Browse files
author
Johnathan Van Why
committed
-Zmiri-track-raw-pointers doc correction: it is not strictly more restrictive than Stacked Borrows.
This change is based on the following comment: #1748 (comment)
1 parent 263be25 commit 03be413

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,9 @@ environment variable:
254254
help identify latent aliasing issues in code that Miri accepts by default. You
255255
can recognize false positives by `<untagged>` occurring in the message -- this
256256
indicates a pointer that was cast from an integer, so Miri was unable to track
257-
this pointer. It does not have false negatives; code that works with
258-
`-Zmiri-track-raw-pointers` will work without `-Zmiri-track-raw-pointers`.
257+
this pointer. Note that it is not currently guaranteed that code that works
258+
with `-Zmiri-track-raw-pointers` also works without
259+
`-Zmiri-track-raw-pointers`.
259260

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

0 commit comments

Comments
 (0)