Skip to content

Commit

Permalink
Rollup merge of rust-lang#122986 - taiki-e:aix-c-char, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Fix c_char on AIX

Closes rust-lang#122985
  • Loading branch information
matthiaskrgr authored May 25, 2024
2 parents 890982e + c31ec4f commit 2a1b632
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 2a1b632

Please sign in to comment.