Skip to content

Commit

Permalink
Merge pull request #4217 from shepmaster/tree-borrows-anchor
Browse files Browse the repository at this point in the history
Add an anchor to directly link to the -Zmiri-tree-borrows docs
  • Loading branch information
RalfJung authored Mar 3, 2025
2 parents 31f40b0 + b9cdfd9 commit 1120657
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,8 @@ to Miri failing to detect cases of undefined behavior in a program.
* `-Zmiri-track-weak-memory-loads` shows a backtrace when weak memory emulation returns an outdated
value from a load. This can help diagnose problems that disappear under
`-Zmiri-disable-weak-memory-emulation`.
* `-Zmiri-tree-borrows` replaces [Stacked Borrows] with the [Tree Borrows] rules.
* <a name="-Zmiri-tree-borrows"><!-- The playground links here --></a>
`-Zmiri-tree-borrows` replaces [Stacked Borrows] with the [Tree Borrows] rules.
Tree Borrows is even more experimental than Stacked Borrows. While Tree Borrows
is still sound in the sense of catching all aliasing violations that current versions
of the compiler might exploit, it is likely that the eventual final aliasing model
Expand Down

0 comments on commit 1120657

Please sign in to comment.