Skip to content

Commit 24e6963

Browse files
authored
Rollup merge of rust-lang#53116 - jakllsch:netbsd-unsigned-char, r=alexcrichton
NetBSD: fix signedess of char
2 parents e9a4e44 + b011b09 commit 24e6963

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/libstd/os/raw/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ use fmt;
2929
all(target_os = "android", any(target_arch = "aarch64",
3030
target_arch = "arm")),
3131
all(target_os = "l4re", target_arch = "x86_64"),
32+
all(target_os = "netbsd", any(target_arch = "arm",
33+
target_arch = "powerpc")),
3234
all(target_os = "openbsd", target_arch = "aarch64"),
3335
all(target_os = "fuchsia", target_arch = "aarch64")))]
3436
#[stable(feature = "raw_os", since = "1.1.0")] pub type c_char = u8;
@@ -41,6 +43,8 @@ use fmt;
4143
all(target_os = "android", any(target_arch = "aarch64",
4244
target_arch = "arm")),
4345
all(target_os = "l4re", target_arch = "x86_64"),
46+
all(target_os = "netbsd", any(target_arch = "arm",
47+
target_arch = "powerpc")),
4448
all(target_os = "openbsd", target_arch = "aarch64"),
4549
all(target_os = "fuchsia", target_arch = "aarch64"))))]
4650
#[stable(feature = "raw_os", since = "1.1.0")] pub type c_char = i8;

0 commit comments

Comments
 (0)