Skip to content

Commit

Permalink
Add initial support for m68k-unknown-linux-gnu
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubitz committed Feb 6, 2022
1 parent 34a9889 commit 7a027d3
Show file tree
Hide file tree
Showing 6 changed files with 874 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 @@ -76,6 +76,7 @@ macro_rules! expand_align {
any(target_arch = "mips",
target_arch = "arm",
target_arch = "hexagon",
target_arch = "m68k",
target_arch = "powerpc",
target_arch = "sparc",
target_arch = "x86_64",
Expand All @@ -85,6 +86,7 @@ macro_rules! expand_align {
not(any(target_arch = "mips",
target_arch = "arm",
target_arch = "hexagon",
target_arch = "m68k",
target_arch = "powerpc",
target_arch = "sparc",
target_arch = "x86_64",
Expand All @@ -99,6 +101,7 @@ macro_rules! expand_align {
any(target_arch = "mips",
target_arch = "arm",
target_arch = "hexagon",
target_arch = "m68k",
target_arch = "powerpc",
target_arch = "sparc",
target_arch = "x86_64",
Expand All @@ -108,6 +111,7 @@ macro_rules! expand_align {
not(any(target_arch = "mips",
target_arch = "arm",
target_arch = "hexagon",
target_arch = "m68k",
target_arch = "powerpc",
target_arch = "sparc",
target_arch = "x86_64",
Expand Down
7 changes: 7 additions & 0 deletions src/unix/linux_like/linux/gnu/b32/m68k/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(2))]
pub struct max_align_t {
priv_: [i8; 20]
}
}
Loading

0 comments on commit 7a027d3

Please sign in to comment.