This better matches where upstream puts compilers and development utilities.
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
From ffacbea82a7e03fadc05d31313e2bbd3e10388fb Mon Sep 17 00:00:00 2001
|
|
From: Steven Walter <swalter@lexmark.com>
|
|
Date: Tue, 7 Jul 2015 14:57:42 -0400
|
|
Subject: [PATCH 09/10] Remove crate metadata from symbol hashing
|
|
|
|
---
|
|
src/librustc_trans/back/link.rs | 5 -----
|
|
1 file changed, 5 deletions(-)
|
|
|
|
diff --git a/src/librustc_trans/back/link.rs b/src/librustc_trans/back/link.rs
|
|
index 25dd2e6..d203d07 100644
|
|
--- a/src/librustc_trans/back/link.rs
|
|
+++ b/src/librustc_trans/back/link.rs
|
|
@@ -206,11 +206,6 @@ fn symbol_hash<'tcx>(tcx: &ty::ctxt<'tcx>,
|
|
symbol_hasher.reset();
|
|
symbol_hasher.input_str(&link_meta.crate_name);
|
|
symbol_hasher.input_str("-");
|
|
- symbol_hasher.input_str(link_meta.crate_hash.as_str());
|
|
- for meta in tcx.sess.crate_metadata.borrow().iter() {
|
|
- symbol_hasher.input_str(&meta[..]);
|
|
- }
|
|
- symbol_hasher.input_str("-");
|
|
symbol_hasher.input_str(&encoder::encoded_ty(tcx, t));
|
|
// Prefix with 'h' so that it never blends into adjacent digits
|
|
let mut hash = String::from("h");
|
|
--
|
|
2.5.1
|
|
|