Skip to content

Commit 3768f0b

Browse files
committed
update char signess for openbsd
adds more archs for openbsd: arm, mips64, powerpc, powerpc64, and riscv64.
1 parent 2a280de commit 3768f0b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

library/core/src/ffi/mod.rs

+10-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,16 @@ mod c_char_definition {
130130
target_os = "netbsd",
131131
any(target_arch = "aarch64", target_arch = "arm", target_arch = "powerpc")
132132
),
133-
all(target_os = "openbsd", target_arch = "aarch64"),
133+
all(
134+
target_os = "openbsd",
135+
any(
136+
target_arch = "aarch64",
137+
target_arch = "arm",
138+
target_arch = "powerpc",
139+
target_arch = "powerpc64",
140+
target_arch = "riscv64",
141+
),
142+
),
134143
all(
135144
target_os = "vxworks",
136145
any(

0 commit comments

Comments
 (0)