Skip to content

Commit 563792d

Browse files
experiment: enable fingerprint verification unconditionally
1 parent 8d1e3d3 commit 563792d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

compiler/rustc_query_system/src/query/plumbing.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -551,12 +551,7 @@ where
551551
};
552552

553553
if let Some(result) = result {
554-
// If `-Zincremental-verify-ich` is specified, re-hash results from
555-
// the cache and make sure that they have the expected fingerprint.
556-
if unlikely!(tcx.dep_context().sess().opts.debugging_opts.incremental_verify_ich) {
557-
incremental_verify_ich(*tcx.dep_context(), &result, dep_node, query);
558-
}
559-
554+
incremental_verify_ich(*tcx.dep_context(), &result, dep_node, query);
560555
result
561556
} else {
562557
// We could not load a result from the on-disk cache, so

0 commit comments

Comments
 (0)