From 99306a9fa1d3b06e849ac3d35e01a4b9d32cbb96 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Thu, 26 Mar 2026 21:18:02 -0700 Subject: [PATCH] Add hexagon to the unsigned c_char group 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. --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index e08e09b3..ed53bdbf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,6 +17,7 @@ pub mod ctypes { #[cfg(any( target_arch = "aarch64", target_arch = "arm", + target_arch = "hexagon", target_arch = "msp430", target_arch = "powerpc", target_arch = "powerpc64",