diff options
| author | Sébastien Marie <semarie@users.noreply.github.com> | 2017-12-14 10:25:14 +0100 |
|---|---|---|
| committer | Sébastien Marie <semarie@users.noreply.github.com> | 2017-12-17 19:48:31 +0100 |
| commit | 8c7b0938c2c425cbf46f363d84d326105d2a80ba (patch) | |
| tree | b59ec1fa77f7481f4814ce4f1d09e5b4458a6508 | |
| parent | f03e06762ea6c4116c360185c0e9b6f209b76959 (diff) | |
| download | rust-8c7b0938c2c425cbf46f363d84d326105d2a80ba.tar.gz rust-8c7b0938c2c425cbf46f363d84d326105d2a80ba.zip | |
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
| m--------- | src/liblibc | 0 | ||||
| -rw-r--r-- | src/libstd/os/raw.rs | 2 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/liblibc b/src/liblibc -Subproject 1a2f9639f8d293cefbe050053a574decbfe863f +Subproject ef9eefb6df3f3a2cb989e8050519661faa7d711 diff --git a/src/libstd/os/raw.rs b/src/libstd/os/raw.rs index 95439640f7c..279caf8053a 100644 --- a/src/libstd/os/raw.rs +++ b/src/libstd/os/raw.rs @@ -22,6 +22,7 @@ use fmt; all(target_os = "android", any(target_arch = "aarch64", target_arch = "arm")), all(target_os = "l4re", target_arch = "x86_64"), + 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; #[cfg(not(any(all(target_os = "linux", any(target_arch = "aarch64", @@ -32,6 +33,7 @@ use fmt; all(target_os = "android", any(target_arch = "aarch64", target_arch = "arm")), all(target_os = "l4re", target_arch = "x86_64"), + 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; #[stable(feature = "raw_os", since = "1.1.0")] pub type c_schar = i8; |
