File tree 2 files changed +3
-12
lines changed
2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 296
296
#![ feature( rand) ]
297
297
#![ feature( raw) ]
298
298
#![ feature( repr_align) ]
299
- #![ feature( repr_simd) ]
300
299
#![ feature( rustc_attrs) ]
301
300
#![ feature( shared) ]
302
301
#![ feature( sip_hash_13) ]
Original file line number Diff line number Diff line change @@ -20,11 +20,6 @@ use os::raw::c_ulonglong;
20
20
use libc:: { wchar_t, size_t, c_void} ;
21
21
use ptr;
22
22
23
- #[ repr( simd) ]
24
- #[ repr( C ) ]
25
- #[ cfg( target_arch = "x86_64" ) ]
26
- struct u64x2 ( u64 , u64 ) ;
27
-
28
23
pub use self :: FILE_INFO_BY_HANDLE_CLASS :: * ;
29
24
pub use self :: EXCEPTION_DISPOSITION :: * ;
30
25
@@ -700,9 +695,8 @@ pub struct FLOATING_SAVE_AREA {
700
695
}
701
696
702
697
#[ cfg( target_arch = "x86_64" ) ]
703
- #[ repr( C ) ]
698
+ #[ repr( C , align ( 16 ) ) ]
704
699
pub struct CONTEXT {
705
- _align_hack : [ u64x2 ; 0 ] , // FIXME align on 16-byte
706
700
pub P1Home : DWORDLONG ,
707
701
pub P2Home : DWORDLONG ,
708
702
pub P3Home : DWORDLONG ,
@@ -760,17 +754,15 @@ pub struct CONTEXT {
760
754
}
761
755
762
756
#[ cfg( target_arch = "x86_64" ) ]
763
- #[ repr( C ) ]
757
+ #[ repr( C , align ( 16 ) ) ]
764
758
pub struct M128A {
765
- _align_hack : [ u64x2 ; 0 ] , // FIXME align on 16-byte
766
759
pub Low : c_ulonglong ,
767
760
pub High : c_longlong
768
761
}
769
762
770
763
#[ cfg( target_arch = "x86_64" ) ]
771
- #[ repr( C ) ]
764
+ #[ repr( C , align ( 16 ) ) ]
772
765
pub struct FLOATING_SAVE_AREA {
773
- _align_hack : [ u64x2 ; 0 ] , // FIXME align on 16-byte
774
766
_Dummy : [ u8 ; 512 ] // FIXME: Fill this out
775
767
}
776
768
You can’t perform that action at this time.
0 commit comments