diff options
| author | kennytm <kennytm@gmail.com> | 2018-08-09 16:58:44 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-09 16:58:44 +0800 |
| commit | 23601d08e6e3f52fec722e42362f727971475ced (patch) | |
| tree | e0151ffafbd5fdabb232dcb5fde984fb5b5df322 /src/libstd | |
| parent | c24ba7e4f811e4b30d6d087f020835ccdf0ca445 (diff) | |
| parent | b011b091cb68bb36e9aea2fab4fcd1b74d26a1e8 (diff) | |
| download | rust-23601d08e6e3f52fec722e42362f727971475ced.tar.gz rust-23601d08e6e3f52fec722e42362f727971475ced.zip | |
Rollup merge of #53116 - jakllsch:netbsd-unsigned-char, r=alexcrichton
NetBSD: fix signedess of char
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/os/raw/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ use fmt; 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 @@ use fmt; 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; |
