Skip to content

Commit ba3ca92

Browse files
committed
Aaron1011 pointed out a mistake in my previous draft.
1 parent 099e2b5 commit ba3ca92

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

posts/2021-05-07-caught-red-handed.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ Fingerprints are part of our architecture for detecting when inputs change. More
4545

4646
[rustc-dev-guide-fingerprints]: https://rustc-dev-guide.rust-lang.org/queries/incremental-compilation-in-detail.html#checking-query-results-for-changes-hashstable-and-fingerprints
4747

48-
The `verify-ich` check is a safeguard asserting internal inconsistency of the fingerprints. When loading a value from the cache, it recomputes the fingerprint, and compares the resulting value against the fingerprint stored in the cache from the previous compiler run. There are multiple ways that a fingerprint mismatch could arise, but they all represent bugs within the Rust compiler itself.
48+
The `verify-ich` check is a safeguard asserting internal inconsistency of the fingerprints.
49+
The compiler stores fingerprints for both cached and uncached values.
50+
Every time we compute an uncached value, we double-check that its newly computed fingerprint against the finger print stored in the cache.
51+
There are multiple ways that a fingerprint mismatch could arise, but they all represent bugs within the Rust compiler itself.
4952

5053
## History of deployment
5154

0 commit comments

Comments
 (0)