diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-03-03 01:09:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-03 01:09:07 +0100 |
| commit | a83021bda9835cef580364dbb72ca7fde488a6c3 (patch) | |
| tree | e60d8c60fab9dad70cb492bbed6fa5fb4cb4b603 | |
| parent | 8769f4ef2fe1efddd1f072485f97f568e7328f79 (diff) | |
| parent | fa8e1bedd34d85d4cbe83b8c61a53d080a83e72d (diff) | |
| download | rust-a83021bda9835cef580364dbb72ca7fde488a6c3.tar.gz rust-a83021bda9835cef580364dbb72ca7fde488a6c3.zip | |
Rollup merge of #92061 - semarie:openbsd-archs, r=joshtriplett
update char signess for openbsd it adds more archs support for openbsd: arm, mips64, powerpc, powerpc64, and riscv64.
| -rw-r--r-- | library/core/src/ffi/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/core/src/ffi/mod.rs b/library/core/src/ffi/mod.rs index e5255686ff9..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", @@ -130,7 +130,6 @@ 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 = "vxworks", any( |
