Initial support for aarch64-linux-android
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user