Skip to content

Commit 8c7b093

Browse files
committed
add aarch64-unknown-openbsd support
- make liblibc to point to libc with aarch64-unknown-openbsd - make c_char (in std::os::raw) to point to right value
1 parent f03e067 commit 8c7b093

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/libstd/os/raw.rs

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ use fmt;
2222
all(target_os = "android", any(target_arch = "aarch64",
2323
target_arch = "arm")),
2424
all(target_os = "l4re", target_arch = "x86_64"),
25+
all(target_os = "openbsd", target_arch = "aarch64"),
2526
all(target_os = "fuchsia", target_arch = "aarch64")))]
2627
#[stable(feature = "raw_os", since = "1.1.0")] pub type c_char = u8;
2728
#[cfg(not(any(all(target_os = "linux", any(target_arch = "aarch64",
@@ -32,6 +33,7 @@ use fmt;
3233
all(target_os = "android", any(target_arch = "aarch64",
3334
target_arch = "arm")),
3435
all(target_os = "l4re", target_arch = "x86_64"),
36+
all(target_os = "openbsd", target_arch = "aarch64"),
3537
all(target_os = "fuchsia", target_arch = "aarch64"))))]
3638
#[stable(feature = "raw_os", since = "1.1.0")] pub type c_char = i8;
3739
#[stable(feature = "raw_os", since = "1.1.0")] pub type c_schar = i8;

0 commit comments

Comments
 (0)