about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSébastien Marie <semarie@online.fr>2022-03-02 12:12:28 +0000
committerSébastien Marie <semarie@online.fr>2022-03-02 12:12:28 +0000
commitfa8e1bedd34d85d4cbe83b8c61a53d080a83e72d (patch)
treebbbebfc08e0cf395c9b51990b45d9deb63d42c49
parent3768f0b813cd6944b0893b76bc0add776eb8cae0 (diff)
downloadrust-fa8e1bedd34d85d4cbe83b8c61a53d080a83e72d.tar.gz
rust-fa8e1bedd34d85d4cbe83b8c61a53d080a83e72d.zip
merge the char signess list of archs with freebsd as it is the same
-rw-r--r--library/core/src/ffi/mod.rs12
1 files changed, 1 insertions, 11 deletions
diff --git a/library/core/src/ffi/mod.rs b/library/core/src/ffi/mod.rs
index 81f04994c6f..2b611e5aae2 100644
--- a/library/core/src/ffi/mod.rs
+++ b/library/core/src/ffi/mod.rs
@@ -117,7 +117,7 @@ mod c_char_definition {
             all(target_os = "android", any(target_arch = "aarch64", target_arch = "arm")),
             all(target_os = "l4re", target_arch = "x86_64"),
             all(
-                target_os = "freebsd",
+                any(target_os = "freebsd", target_os = "openbsd"),
                 any(
                     target_arch = "aarch64",
                     target_arch = "arm",
@@ -131,16 +131,6 @@ mod c_char_definition {
                 any(target_arch = "aarch64", target_arch = "arm", target_arch = "powerpc")
             ),
             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(
                     target_arch = "aarch64",