about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-03-03 19:08:07 +0000
committerGitHub <noreply@github.com>2025-03-03 19:08:07 +0000
commit1d7cd1e0039d7bf6be6b41d63f3dbd0954c14c01 (patch)
treefeef6b761397d36efd71caeaf931176ed20464f4
parentb7eeaf1c6dc24c399b3081b94a940098c12e63f4 (diff)
parentf6fc17a4c8ccc88096785dfb50e553003e99f147 (diff)
downloadrust-1d7cd1e0039d7bf6be6b41d63f3dbd0954c14c01.tar.gz
rust-1d7cd1e0039d7bf6be6b41d63f3dbd0954c14c01.zip
Merge pull request #4217 from shepmaster/tree-borrows-anchor
Add an anchor to directly link to the -Zmiri-tree-borrows docs
-rw-r--r--src/tools/miri/README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/miri/README.md b/src/tools/miri/README.md
index 4ae901be9b4..d64de4b1976 100644
--- a/src/tools/miri/README.md
+++ b/src/tools/miri/README.md
@@ -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