File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed
branches/try/src/librustc_incremental Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 6dbb0e86aec11050480beb76eade6fb805010ba7
3
3
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
4
- refs/heads/try: a2e0cbc6fc64db7672d8b0d5140dea964c1abf23
4
+ refs/heads/try: 50a40e1c37761acc404d4b95e0448d7a01b6e38b
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
7
7
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -44,8 +44,10 @@ impl<'tcx> SvhCalculate for ty::TyCtxt<'tcx> {
44
44
let mut state = SipHasher :: new ( ) ;
45
45
debug ! ( "state: {:?}" , state) ;
46
46
47
+ // FIXME(#32753) -- at (*) we `to_le` for endianness, but is
48
+ // this enough, and does it matter anyway?
47
49
"crate_disambiguator" . hash ( & mut state) ;
48
- crate_disambiguator. as_str ( ) . len ( ) . hash ( & mut state) ;
50
+ crate_disambiguator. as_str ( ) . len ( ) . to_le ( ) . hash ( & mut state) ; // (*)
49
51
crate_disambiguator. as_str ( ) . hash ( & mut state) ;
50
52
51
53
debug ! ( "crate_disambiguator: {:?}" , crate_disambiguator. as_str( ) ) ;
Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ fn initial_dirty_nodes<'tcx>(tcx: &ty::TyCtxt<'tcx>,
151
151
for hashed_item in hashed_items {
152
152
match retraced. def_id ( hashed_item. index ) {
153
153
Some ( def_id) => {
154
+ // FIXME(#32753) -- should we use a distinct hash here
154
155
let current_hash = tcx. calculate_item_hash ( def_id) ;
155
156
debug ! ( "initial_dirty_nodes: hash of {:?} is {:?}, was {:?}" ,
156
157
def_id, current_hash, hashed_item. hash) ;
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ pub fn encode_dep_graph<'tcx>(tcx: &ty::TyCtxt<'tcx>,
93
93
assert ! ( def_id. is_local( ) ) ;
94
94
builder. add ( def_id)
95
95
. map ( |index| {
96
+ // FIXME(#32753) -- should we use a distinct hash here
96
97
let hash = tcx. calculate_item_hash ( def_id) ;
97
98
SerializedHash { index : index, hash : hash }
98
99
} )
You can’t perform that action at this time.
0 commit comments