Skip to content

Commit d361e08

Browse files
committed
Auto merge of #3539 - hdeller:hppa-devel3, r=JohnTitor
Add initial support for hppa-unknown-linux-gnu This is the followup pull-request from: #3032
2 parents fbdf2c1 + 386afa6 commit d361e08

File tree

5 files changed

+818
-0
lines changed

5 files changed

+818
-0
lines changed

src/unix/linux_like/linux/align.rs

+4
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ macro_rules! expand_align {
8888
target_arch = "mips32r6",
8989
target_arch = "arm",
9090
target_arch = "hexagon",
91+
target_arch = "hppa",
9192
target_arch = "m68k",
9293
target_arch = "csky",
9394
target_arch = "powerpc",
@@ -100,6 +101,7 @@ macro_rules! expand_align {
100101
target_arch = "mips32r6",
101102
target_arch = "arm",
102103
target_arch = "hexagon",
104+
target_arch = "hppa",
103105
target_arch = "m68k",
104106
target_arch = "csky",
105107
target_arch = "powerpc",
@@ -117,6 +119,7 @@ macro_rules! expand_align {
117119
target_arch = "mips32r6",
118120
target_arch = "arm",
119121
target_arch = "hexagon",
122+
target_arch = "hppa",
120123
target_arch = "m68k",
121124
target_arch = "csky",
122125
target_arch = "powerpc",
@@ -129,6 +132,7 @@ macro_rules! expand_align {
129132
target_arch = "mips32r6",
130133
target_arch = "arm",
131134
target_arch = "hexagon",
135+
target_arch = "hppa",
132136
target_arch = "m68k",
133137
target_arch = "powerpc",
134138
target_arch = "sparc",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
s_no_extra_traits! {
2+
#[allow(missing_debug_implementations)]
3+
#[repr(align(4))]
4+
pub struct max_align_t {
5+
priv_: [i8; 4]
6+
}
7+
}

0 commit comments

Comments
 (0)