]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_trans/back/link.rs
ICH: Use 128-bit Blake2b hash instead of 64-bit SipHash for incr. comp. fingerprints.
[rust.git] / src / librustc_trans / back / link.rs
index 5a8c5cb4b82c6f3543abc27ac041b773edcfe113..e46bdbb5ccf4ae9399151e621a7caacd548afeca 100644 (file)
@@ -130,7 +130,7 @@ pub fn build_link_meta(incremental_hashes_map: &IncrementalHashesMap,
                        -> LinkMeta {
     let r = LinkMeta {
         crate_name: name.to_owned(),
-        crate_hash: Svh::new(incremental_hashes_map[&DepNode::Krate]),
+        crate_hash: Svh::new(incremental_hashes_map[&DepNode::Krate].to_smaller_hash()),
     };
     info!("{:?}", r);
     return r;