Skip to content

Commit eee74bf

Browse files
authored
Rollup merge of rust-lang#92061 - semarie:openbsd-archs, r=joshtriplett
update char signess for openbsd it adds more archs support for openbsd: arm, mips64, powerpc, powerpc64, and riscv64.
2 parents 08504c6 + fa8e1be commit eee74bf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/core/src/ffi/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ mod c_char_definition {
117117
all(target_os = "android", any(target_arch = "aarch64", target_arch = "arm")),
118118
all(target_os = "l4re", target_arch = "x86_64"),
119119
all(
120-
target_os = "freebsd",
120+
any(target_os = "freebsd", target_os = "openbsd"),
121121
any(
122122
target_arch = "aarch64",
123123
target_arch = "arm",
@@ -130,7 +130,6 @@ 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"),
134133
all(
135134
target_os = "vxworks",
136135
any(

0 commit comments

Comments
 (0)