about summary refs log tree commit diff
path: root/src/libstd/os/raw.rs
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2016-10-24 11:54:48 -0700
committerRaph Levien <raph@google.com>2016-10-24 16:58:35 -0700
commitc4651dba5f8fcbdd9b678db87405aaa643f82600 (patch)
treed7b305ca654351942fcf8fed98f110b11ab7d317 /src/libstd/os/raw.rs
parent3caf63cc00f5cec580954bdb117f4fa756cc757d (diff)
downloadrust-c4651dba5f8fcbdd9b678db87405aaa643f82600.tar.gz
rust-c4651dba5f8fcbdd9b678db87405aaa643f82600.zip
Support for aarch64 architecture on Fuchsia
This patch adds support for the aarch64-unknown-fuchsia target. Also
updates src/liblibc submodule to include required libc change.
Diffstat (limited to 'src/libstd/os/raw.rs')
-rw-r--r--src/libstd/os/raw.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstd/os/raw.rs b/src/libstd/os/raw.rs
index 6c5c1b90a4a..2a918d8aeb7 100644
--- a/src/libstd/os/raw.rs
+++ b/src/libstd/os/raw.rs
@@ -18,7 +18,8 @@
                                        target_arch = "arm",
                                        target_arch = "powerpc",
                                        target_arch = "powerpc64",
-                                       target_arch = "s390x"))))]
+                                       target_arch = "s390x")),
+          all(target_os = "fuchsia", target_arch = "aarch64")))]
 #[stable(feature = "raw_os", since = "1.1.0")] pub type c_char = u8;
 #[cfg(not(any(target_os = "android",
               target_os = "emscripten",
@@ -26,7 +27,8 @@
                                            target_arch = "arm",
                                            target_arch = "powerpc",
                                            target_arch = "powerpc64",
-                                           target_arch = "s390x")))))]
+                                           target_arch = "s390x")),
+              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;
 #[stable(feature = "raw_os", since = "1.1.0")] pub type c_uchar = u8;