Skip to content

Commit

Permalink
Add support for hexagon-unknown-linux-musl
Browse files Browse the repository at this point in the history
  • Loading branch information
androm3da committed Jul 27, 2019
1 parent d660c38 commit 214d32d
Show file tree
Hide file tree
Showing 5 changed files with 806 additions and 2 deletions.
1 change: 1 addition & 0 deletions ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ armebv7r-none-eabihf \
armv7-unknown-cloudabi-eabihf \
armv7r-none-eabi \
armv7r-none-eabihf \
hexagon-unknown-linux-musl \
i586-pc-windows-msvc \
i686-pc-windows-msvc \
i686-unknown-cloudabi \
Expand Down
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 @@ -60,13 +60,15 @@ macro_rules! expand_align {
#[cfg_attr(all(target_pointer_width = "32",
any(target_arch = "mips",
target_arch = "arm",
target_arch = "hexagon",
target_arch = "powerpc",
target_arch = "x86_64",
target_arch = "x86")),
repr(align(4)))]
#[cfg_attr(any(target_pointer_width = "64",
not(any(target_arch = "mips",
target_arch = "arm",
target_arch = "hexagon",
target_arch = "powerpc",
target_arch = "x86_64",
target_arch = "x86"))),
Expand All @@ -79,13 +81,15 @@ macro_rules! expand_align {
#[cfg_attr(all(target_pointer_width = "32",
any(target_arch = "mips",
target_arch = "arm",
target_arch = "hexagon",
target_arch = "powerpc",
target_arch = "x86_64",
target_arch = "x86")),
repr(align(4)))]
#[cfg_attr(any(target_pointer_width = "64",
not(any(target_arch = "mips",
target_arch = "arm",
target_arch = "hexagon",
target_arch = "powerpc",
target_arch = "x86_64",
target_arch = "x86"))),
Expand Down

0 comments on commit 214d32d

Please sign in to comment.