Skip to content

Commit

Permalink
Fix c_char on AIX
Browse files Browse the repository at this point in the history
Refs: #122985
  • Loading branch information
taiki-e committed May 20, 2024
1 parent 44d679b commit c31ec4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/core/src/ffi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c31ec4f

Please sign in to comment.