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) {
642
642
643
643
// Windows uppercase structs don't have `struct` in front:
644
644
t if is_struct => {
645
- if ty. clone ( ) . chars ( ) . next ( ) . unwrap ( ) . is_uppercase ( ) {
645
+ if ty. chars ( ) . next ( ) . unwrap ( ) . is_uppercase ( ) {
646
646
t. to_string ( )
647
647
} else if t == "stat" {
648
648
"struct __stat64" . to_string ( )
Original file line number Diff line number Diff line change 27
27
__reserved: [ [ u64 ; 32 ] ; 16 ] ,
28
28
}
29
29
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
-
37
30
#[ repr( align( 8 ) ) ]
38
31
pub struct clone_args {
39
32
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! {
928
928
mod align;
929
929
pub use self :: align:: * ;
930
930
}
931
+
932
+
931
933
}
932
934
933
935
cfg_if ! {
934
936
if #[ cfg( libc_int128) ] {
935
937
mod int128;
936
938
pub use self :: int128:: * ;
939
+ } else if #[ cfg( libc_align) ] {
940
+ mod fallback;
941
+ pub use self :: fallback:: * ;
937
942
}
938
943
}
You can’t perform that action at this time.
0 commit comments