Skip to content

Commit 1120657

Browse files
authored
Merge pull request rust-lang#4217 from shepmaster/tree-borrows-anchor
Add an anchor to directly link to the -Zmiri-tree-borrows docs
2 parents 31f40b0 + b9cdfd9 commit 1120657

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,8 @@ to Miri failing to detect cases of undefined behavior in a program.
432432
* `-Zmiri-track-weak-memory-loads` shows a backtrace when weak memory emulation returns an outdated
433433
value from a load. This can help diagnose problems that disappear under
434434
`-Zmiri-disable-weak-memory-emulation`.
435-
* `-Zmiri-tree-borrows` replaces [Stacked Borrows] with the [Tree Borrows] rules.
435+
* <a name="-Zmiri-tree-borrows"><!-- The playground links here --></a>
436+
`-Zmiri-tree-borrows` replaces [Stacked Borrows] with the [Tree Borrows] rules.
436437
Tree Borrows is even more experimental than Stacked Borrows. While Tree Borrows
437438
is still sound in the sense of catching all aliasing violations that current versions
438439
of the compiler might exploit, it is likely that the eventual final aliasing model

0 commit comments

Comments
 (0)