Skip to main content

legacy_crate_hash

Function legacy_crate_hash 

Source
fn legacy_crate_hash(tcx: TyCtxt<'_>) -> Svh
Expand description

Only reached when -Z metadata-crate-hash=no reverts to the pre-metadata-hashing behavior. The HIR-based hashing scheme here matches the crate_hash query as it existed before this PR. (The resulting SVH still differs from a pre-PR compiler, because metadata_crate_hash is a [TRACKED] option and therefore contributes to the dep-tracking hash hashed in below.)