File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ macro_rules! repeat_u8_as_u64 {
334
334
// But having the sign bit set is a pain, so 0x1d is probably better.
335
335
//
336
336
// And of course, 0x00 brings back the old world of zero'ing on drop.
337
- #[ cfg( not( stage0) ) ] pub const POST_DROP_U8 : u8 = 0x0 ;
337
+ #[ cfg( not( stage0) ) ] pub const POST_DROP_U8 : u8 = 0x1d ;
338
338
#[ cfg( not( stage0) ) ] pub const POST_DROP_U32 : u32 = repeat_u8_as_u32 ! ( POST_DROP_U8 ) ;
339
339
#[ cfg( not( stage0) ) ] pub const POST_DROP_U64 : u64 = repeat_u8_as_u64 ! ( POST_DROP_U8 ) ;
340
340
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ macro_rules! repeat_u8_as_u64 {
166
166
( repeat_u8_as_u32!( $name) as u64 ) ) }
167
167
}
168
168
169
- pub const DTOR_NEEDED : u8 = 0x1 ;
169
+ pub const DTOR_NEEDED : u8 = 0xd4 ;
170
170
pub const DTOR_NEEDED_U32 : u32 = repeat_u8_as_u32 ! ( DTOR_NEEDED ) ;
171
171
pub const DTOR_NEEDED_U64 : u64 = repeat_u8_as_u64 ! ( DTOR_NEEDED ) ;
172
172
#[ allow( dead_code) ]
@@ -178,7 +178,7 @@ pub fn dtor_needed_usize(ccx: &CrateContext) -> usize {
178
178
}
179
179
}
180
180
181
- pub const DTOR_DONE : u8 = 0x0 ;
181
+ pub const DTOR_DONE : u8 = 0x1d ;
182
182
pub const DTOR_DONE_U32 : u32 = repeat_u8_as_u32 ! ( DTOR_DONE ) ;
183
183
pub const DTOR_DONE_U64 : u64 = repeat_u8_as_u64 ! ( DTOR_DONE ) ;
184
184
#[ allow( dead_code) ]
You can’t perform that action at this time.
0 commit comments