diff options
| author | kennytm <kennytm@gmail.com> | 2017-12-20 21:21:55 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-20 21:21:55 +0800 |
| commit | 1d57459fc99aee3f3af4c282965ccd9689f3aa59 (patch) | |
| tree | fb64ec87731176aaef628757e9c8b832246f8d61 /src/libstd | |
| parent | 4d9ed874371b9db646c2984c04db085dea6e6731 (diff) | |
| parent | 8c7b0938c2c425cbf46f363d84d326105d2a80ba (diff) | |
| download | rust-1d57459fc99aee3f3af4c282965ccd9689f3aa59.tar.gz rust-1d57459fc99aee3f3af4c282965ccd9689f3aa59.zip | |
Rollup merge of #46760 - semarie:openbsd-arm64, r=alexcrichton
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 r? @alexcrichton currently, I have only tested in crosscompilation environement (openbsd x64_64 -> openbsd aarch64). it produces valid binaries.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/os/raw.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
