Skip to content

Commit 3b15c17

Browse files
authored
Add hexagon to the unsigned c_char group (#183)
Hexagon's `c_char` is unsigned, matching aarch64, arm, powerpc, riscv, and s390x. Without this, the `no_std` ctypes module fails to compile for `hexagon-unknown-linux-musl` because `c_char` is not defined.
1 parent 0e2918c commit 3b15c17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub mod ctypes {
1717
#[cfg(any(
1818
target_arch = "aarch64",
1919
target_arch = "arm",
20+
target_arch = "hexagon",
2021
target_arch = "msp430",
2122
target_arch = "powerpc",
2223
target_arch = "powerpc64",

0 commit comments

Comments
 (0)