From: kennytm Date: Thu, 9 Aug 2018 08:58:44 +0000 (+0800) Subject: Rollup merge of #53116 - jakllsch:netbsd-unsigned-char, r=alexcrichton X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=23601d08e6e3f52fec722e42362f727971475ced;hp=c24ba7e4f811e4b30d6d087f020835ccdf0ca445;p=rust.git Rollup merge of #53116 - jakllsch:netbsd-unsigned-char, r=alexcrichton NetBSD: fix signedess of char --- diff --git a/src/libstd/os/raw/mod.rs b/src/libstd/os/raw/mod.rs index d5eeb5252f0..4b8dda493b0 100644 --- a/src/libstd/os/raw/mod.rs +++ b/src/libstd/os/raw/mod.rs @@ -29,6 +29,8 @@ all(target_os = "android", any(target_arch = "aarch64", target_arch = "arm")), all(target_os = "l4re", target_arch = "x86_64"), + all(target_os = "netbsd", any(target_arch = "arm", + target_arch = "powerpc")), all(target_os = "openbsd", target_arch = "aarch64"), all(target_os = "fuchsia", target_arch = "aarch64")))] #[stable(feature = "raw_os", since = "1.1.0")] pub type c_char = u8; @@ -41,6 +43,8 @@ all(target_os = "android", any(target_arch = "aarch64", target_arch = "arm")), all(target_os = "l4re", target_arch = "x86_64"), + all(target_os = "netbsd", any(target_arch = "arm", + target_arch = "powerpc")), all(target_os = "openbsd", target_arch = "aarch64"), all(target_os = "fuchsia", target_arch = "aarch64"))))] #[stable(feature = "raw_os", since = "1.1.0")] pub type c_char = i8;