Skip to content

Commit

Permalink
update char signess for openbsd
Browse files Browse the repository at this point in the history
adds more archs for openbsd: arm, mips64, powerpc, powerpc64, and riscv64.
  • Loading branch information
semarie committed Mar 2, 2022
1 parent 2a280de commit 3768f0b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion library/core/src/ffi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,16 @@ mod c_char_definition {
target_os = "netbsd",
any(target_arch = "aarch64", target_arch = "arm", target_arch = "powerpc")
),
all(target_os = "openbsd", target_arch = "aarch64"),
all(
target_os = "openbsd",
any(
target_arch = "aarch64",
target_arch = "arm",
target_arch = "powerpc",
target_arch = "powerpc64",
target_arch = "riscv64",
),
),
all(
target_os = "vxworks",
any(
Expand Down

0 comments on commit 3768f0b

Please sign in to comment.