Skip to content

Commit

Permalink
experiment: enable fingerprint verification unconditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwoerister committed May 28, 2021
1 parent 8d1e3d3 commit 563792d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions compiler/rustc_query_system/src/query/plumbing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,12 +551,7 @@ where
};

if let Some(result) = result {
// If `-Zincremental-verify-ich` is specified, re-hash results from
// the cache and make sure that they have the expected fingerprint.
if unlikely!(tcx.dep_context().sess().opts.debugging_opts.incremental_verify_ich) {
incremental_verify_ich(*tcx.dep_context(), &result, dep_node, query);
}

incremental_verify_ich(*tcx.dep_context(), &result, dep_node, query);
result
} else {
// We could not load a result from the on-disk cache, so
Expand Down

0 comments on commit 563792d

Please sign in to comment.