Skip to content

Commit fa8e1be

Browse files
committed
merge the char signess list of archs with freebsd as it is the same
1 parent 3768f0b commit fa8e1be

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

library/core/src/ffi/mod.rs

+1-11
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,16 +130,6 @@ mod c_char_definition {
130130
target_os = "netbsd",
131131
any(target_arch = "aarch64", target_arch = "arm", target_arch = "powerpc")
132132
),
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-
),
143133
all(
144134
target_os = "vxworks",
145135
any(

0 commit comments

Comments
 (0)