From a71d9d9f8e920a5e84f6653fcfc970d71218ad32 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 24 Mar 2024 18:00:56 +0900 Subject: [PATCH] Fix c_char on AIX Refs: https://github.com/rust-lang/rust/issues/122985 --- core/src/ffi/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/ffi/mod.rs b/core/src/ffi/mod.rs index 27dacbb23d958..618897b3ababd 100644 --- a/core/src/ffi/mod.rs +++ b/core/src/ffi/mod.rs @@ -133,7 +133,8 @@ mod c_char_definition { any(target_arch = "aarch64", target_arch = "riscv64") ), all(target_os = "nto", target_arch = "aarch64"), - target_os = "horizon" + target_os = "horizon", + target_os = "aix", ))] { pub type c_char = u8; } else {