File tree Expand file tree Collapse file tree 6 files changed +1004
-2
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 6 files changed +1004
-2
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ macro_rules! expand_align {
6262 target_arch = "arm" ,
6363 target_arch = "hexagon" ,
6464 target_arch = "powerpc" ,
65+ target_arch = "sparc" ,
6566 target_arch = "x86_64" ,
6667 target_arch = "x86" ) ) ,
6768 repr( align( 4 ) ) ) ]
@@ -70,6 +71,7 @@ macro_rules! expand_align {
7071 target_arch = "arm" ,
7172 target_arch = "hexagon" ,
7273 target_arch = "powerpc" ,
74+ target_arch = "sparc" ,
7375 target_arch = "x86_64" ,
7476 target_arch = "x86" ) ) ) ,
7577 repr( align( 8 ) ) ) ]
@@ -83,6 +85,7 @@ macro_rules! expand_align {
8385 target_arch = "arm" ,
8486 target_arch = "hexagon" ,
8587 target_arch = "powerpc" ,
88+ target_arch = "sparc" ,
8689 target_arch = "x86_64" ,
8790 target_arch = "x86" ) ) ,
8891 repr( align( 4 ) ) ) ]
@@ -91,6 +94,7 @@ macro_rules! expand_align {
9194 target_arch = "arm" ,
9295 target_arch = "hexagon" ,
9396 target_arch = "powerpc" ,
97+ target_arch = "sparc" ,
9498 target_arch = "x86_64" ,
9599 target_arch = "x86" ) ) ) ,
96100 repr( align( 8 ) ) ) ]
Original file line number Diff line number Diff line change @@ -262,6 +262,9 @@ cfg_if! {
262262 } else if #[ cfg( target_arch = "powerpc" ) ] {
263263 mod powerpc;
264264 pub use self :: powerpc:: * ;
265+ } else if #[ cfg( target_arch = "sparc" ) ] {
266+ mod sparc;
267+ pub use self :: sparc:: * ;
265268 } else {
266269 // Unknown target_arch
267270 }
Original file line number Diff line number Diff line change 1+ s_no_extra_traits ! {
2+ #[ allow( missing_debug_implementations) ]
3+ #[ repr( align( 8 ) ) ]
4+ pub struct max_align_t {
5+ priv_: [ i64 ; 3 ]
6+ }
7+ }
You can’t perform that action at this time.
0 commit comments