diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-01-15 17:28:28 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-01-15 17:28:28 +0530 |
| commit | 7208d2500394ce51010641919f3f79a5ce88dba0 (patch) | |
| tree | cd4ce2d9f411c08239b14bf906139ab83dc23305 /src/libstd/os/raw.rs | |
| parent | ad83ea6a6554dfc837a8e42c1af8af093d98c63d (diff) | |
| parent | 12aec073a8cd293bede167a7ef062044eb07299e (diff) | |
| download | rust-7208d2500394ce51010641919f3f79a5ce88dba0.tar.gz rust-7208d2500394ce51010641919f3f79a5ce88dba0.zip | |
Rollup merge of #30776 - antonblanchard:powerpc64_merge, r=alexcrichton
This adds support for big endian and little endian PowerPC64. make check runs clean apart from one big endian backtrace issue.
Diffstat (limited to 'src/libstd/os/raw.rs')
| -rw-r--r-- | src/libstd/os/raw.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/libstd/os/raw.rs b/src/libstd/os/raw.rs index 3bc063f4269..62080fee48e 100644 --- a/src/libstd/os/raw.rs +++ b/src/libstd/os/raw.rs @@ -14,11 +14,17 @@ #[cfg(any(target_os = "android", all(target_os = "linux", any(target_arch = "aarch64", - target_arch = "arm"))))] + target_arch = "arm", + target_arch = "powerpc", + target_arch = "powerpc64", + target_arch = "powerpc64le"))))] #[stable(feature = "raw_os", since = "1.1.0")] pub type c_char = u8; #[cfg(not(any(target_os = "android", all(target_os = "linux", any(target_arch = "aarch64", - target_arch = "arm")))))] + target_arch = "arm", + target_arch = "powerpc", + target_arch = "powerpc64", + target_arch = "powerpc64le")))))] #[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; #[stable(feature = "raw_os", since = "1.1.0")] pub type c_uchar = u8; |
