Skip to content

Commit

Permalink
Auto merge of #3539 - hdeller:hppa-devel3, r=JohnTitor
Browse files Browse the repository at this point in the history
Add initial support for hppa-unknown-linux-gnu

This is the followup pull-request from:
#3032
  • Loading branch information
bors committed Jan 12, 2024
2 parents fbdf2c1 + 386afa6 commit d361e08
Show file tree
Hide file tree
Showing 5 changed files with 818 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/unix/linux_like/linux/align.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ macro_rules! expand_align {
target_arch = "mips32r6",
target_arch = "arm",
target_arch = "hexagon",
target_arch = "hppa",
target_arch = "m68k",
target_arch = "csky",
target_arch = "powerpc",
Expand All @@ -100,6 +101,7 @@ macro_rules! expand_align {
target_arch = "mips32r6",
target_arch = "arm",
target_arch = "hexagon",
target_arch = "hppa",
target_arch = "m68k",
target_arch = "csky",
target_arch = "powerpc",
Expand All @@ -117,6 +119,7 @@ macro_rules! expand_align {
target_arch = "mips32r6",
target_arch = "arm",
target_arch = "hexagon",
target_arch = "hppa",
target_arch = "m68k",
target_arch = "csky",
target_arch = "powerpc",
Expand All @@ -129,6 +132,7 @@ macro_rules! expand_align {
target_arch = "mips32r6",
target_arch = "arm",
target_arch = "hexagon",
target_arch = "hppa",
target_arch = "m68k",
target_arch = "powerpc",
target_arch = "sparc",
Expand Down
7 changes: 7 additions & 0 deletions src/unix/linux_like/linux/gnu/b32/hppa/align.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
s_no_extra_traits! {
#[allow(missing_debug_implementations)]
#[repr(align(4))]
pub struct max_align_t {
priv_: [i8; 4]
}
}
Loading

0 comments on commit d361e08

Please sign in to comment.