Skip to content

Commit a7fe94f

Browse files
committed
Fix broken aarch64 build
1 parent 1576142 commit a7fe94f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/backtrace.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ mod uw {
566566

567567
// This function doesn't exist on Android or ARM/Linux, so make it same
568568
// to _Unwind_GetIP
569-
#[cfg(any(target_os = "android",
569+
#[cfg(any(all(target_os = "android", target_arch = "arm"),
570570
all(target_os = "linux", target_arch = "arm")))]
571571
pub unsafe fn _Unwind_GetIPInfo(ctx: *mut _Unwind_Context,
572572
ip_before_insn: *mut libc::c_int)

0 commit comments

Comments
 (0)