Skip to content

Commit 7ee8972

Browse files
committed
Disable hash checking
1 parent a542344 commit 7ee8972

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/rustc_metadata/src/rmeta/decoder.rs

+3
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,9 @@ impl MetadataBlob {
603603
// panicking if the computed hash is not equal to
604604
// the original hash stored in the file.
605605
fn check_hash(&self, filename: &Path) {
606+
if true {
607+
return;
608+
}
606609
// We store our 32-byte (256-bit) SHA256 hash at
607610
// the end of the file
608611
let hash_offset = self.raw_bytes().len() - 32;

0 commit comments

Comments
 (0)