about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorEunji Jeong <eun-ji.jeong@samsung.com>2015-01-20 15:03:44 +0900
committerEunji Jeong <eun-ji.jeong@samsung.com>2015-01-20 17:43:15 +0900
commit940080501b76e559e3a2c0de1b15dc7b2353fd85 (patch)
tree79e633ca8d528e896d04aef2745b2aed7ad9abeb /src/libstd/sys
parente375a892f194a4c19fd69c1abf91ef3363627a98 (diff)
downloadrust-940080501b76e559e3a2c0de1b15dc7b2353fd85.tar.gz
rust-940080501b76e559e3a2c0de1b15dc7b2353fd85.zip
Initial support for aarch64-linux-android
Diffstat (limited to 'src/libstd/sys')
-rw-r--r--src/libstd/sys/unix/backtrace.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/unix/backtrace.rs b/src/libstd/sys/unix/backtrace.rs
index 7164931c55a..fe9c77c219a 100644
--- a/src/libstd/sys/unix/backtrace.rs
+++ b/src/libstd/sys/unix/backtrace.rs
@@ -418,7 +418,7 @@ mod uw {
                                  trace_argument: *mut libc::c_void)
                     -> _Unwind_Reason_Code;
 
-        #[cfg(all(not(target_os = "android"),
+        #[cfg(all(not(all(target_os = "android", target_arch = "arm")),
                   not(all(target_os = "linux", target_arch = "arm"))))]
         pub fn _Unwind_GetIP(ctx: *mut _Unwind_Context) -> libc::uintptr_t;
 
@@ -431,7 +431,7 @@ mod uw {
     // On android, the function _Unwind_GetIP is a macro, and this is the
     // expansion of the macro. This is all copy/pasted directly from the
     // header file with the definition of _Unwind_GetIP.
-    #[cfg(any(target_os = "android",
+    #[cfg(any(all(target_os = "android", target_arch = "arm"),
               all(target_os = "linux", target_arch = "arm")))]
     pub unsafe fn _Unwind_GetIP(ctx: *mut _Unwind_Context) -> libc::uintptr_t {
         #[repr(C)]