File tree Expand file tree Collapse file tree 4 files changed +14
-8
lines changed
src/unix/linux_like/linux/gnu/b64/aarch64 Expand file tree Collapse file tree 4 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -642,7 +642,7 @@ fn test_windows(target: &str) {
642642
643643 // Windows uppercase structs don't have `struct` in front:
644644 t if is_struct => {
645- if ty. clone ( ) . chars ( ) . next ( ) . unwrap ( ) . is_uppercase ( ) {
645+ if ty. chars ( ) . next ( ) . unwrap ( ) . is_uppercase ( ) {
646646 t. to_string ( )
647647 } else if t == "stat" {
648648 "struct __stat64" . to_string ( )
Original file line number Diff line number Diff line change 2727 __reserved: [ [ u64 ; 32 ] ; 16 ] ,
2828 }
2929
30- #[ repr( align( 16 ) ) ]
31- pub struct user_fpsimd_struct {
32- pub vregs: [ [ u64 ; 2 ] ; 32 ] ,
33- pub fpsr: :: c_uint,
34- pub fpcr: :: c_uint,
35- }
36-
3730 #[ repr( align( 8 ) ) ]
3831 pub struct clone_args {
3932 pub flags: :: c_ulonglong,
Original file line number Diff line number Diff line change 1+ s ! {
2+ #[ repr( align( 16 ) ) ]
3+ pub struct user_fpsimd_struct {
4+ pub vregs: [ [ u64 ; 2 ] ; 32 ] ,
5+ pub fpsr: :: c_uint,
6+ pub fpcr: :: c_uint,
7+ }
8+ }
Original file line number Diff line number Diff line change @@ -928,11 +928,16 @@ cfg_if! {
928928 mod align;
929929 pub use self :: align:: * ;
930930 }
931+
932+
931933}
932934
933935cfg_if ! {
934936 if #[ cfg( libc_int128) ] {
935937 mod int128;
936938 pub use self :: int128:: * ;
939+ } else if #[ cfg( libc_align) ] {
940+ mod fallback;
941+ pub use self :: fallback:: * ;
937942 }
938943}
You can’t perform that action at this time.
0 commit comments