Skip to content

Commit cd2804c

Browse files
RalfJungMuscraft
authored andcommitted
Merge pull request rust-lang#4465 from RalfJung/readme-strict-provenance
readme: update strict provenance link
2 parents 577eecc + 4c0eac1 commit cd2804c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tools/miri/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,9 @@ environment variable. We first document the most relevant and most commonly used
342342
is enabled (the default), this is also used to emulate system entropy. The default seed is 0. You
343343
can increase test coverage by running Miri multiple times with different seeds.
344344
* `-Zmiri-strict-provenance` enables [strict
345-
provenance](https://github.com/rust-lang/rust/issues/95228) checking in Miri. This means that
346-
casting an integer to a pointer will stop execution because the provenance of the pointer
347-
cannot be determined.
345+
provenance](https://doc.rust-lang.org/nightly/std/ptr/index.html#strict-provenance) checking in
346+
Miri. This means that casting an integer to a pointer will stop execution because the provenance
347+
of the pointer cannot be determined.
348348
* `-Zmiri-symbolic-alignment-check` makes the alignment check more strict. By default, alignment is
349349
checked by casting the pointer to an integer, and making sure that is a multiple of the alignment.
350350
This can lead to cases where a program passes the alignment check by pure chance, because things

0 commit comments

Comments
 (0)