From a7fe94fc0cd5ebebe171da54b3804e97f8eb7aeb Mon Sep 17 00:00:00 2001 From: Eunji Jeong Date: Mon, 2 Mar 2015 14:07:07 +0900 Subject: [PATCH] Fix broken aarch64 build --- src/libstd/sys/unix/backtrace.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/sys/unix/backtrace.rs b/src/libstd/sys/unix/backtrace.rs index 3695b615f62b8..d78cfd0ca37fc 100644 --- a/src/libstd/sys/unix/backtrace.rs +++ b/src/libstd/sys/unix/backtrace.rs @@ -566,7 +566,7 @@ mod uw { // This function doesn't exist on Android or ARM/Linux, so make it same // to _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_GetIPInfo(ctx: *mut _Unwind_Context, ip_before_insn: *mut libc::c_int)