0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-16 14:45:42 +00:00
Files
termux-packages/packages/deno/deno-panic-dyn_slide.diff
Komo 6f978e2faf enable,bump(main/deno): 2.2.13 (#22379)
Co-authored-by: Chongyun Lee <45286352+licy183@users.noreply.github.com>
Co-authored-by: Jia Yuan Lo <jylo06g@gmail.com>
2025-06-23 23:33:00 +08:00

12 lines
315 B
Diff

--- a/src/libunwind.rs
+++ b/src/libunwind.rs
@@ -40,7 +40,7 @@
addr as usize - (_dyld_get_image_vmaddr_slide(0) + (&*cmd).vmaddr as usize)
}
-#[cfg(target_os = "linux")]
+#[cfg(any(target_os = "linux", target_os = "android"))]
unsafe fn dyn_slide(addr: u64) -> u64 {
use std::ffi::{c_int, c_void};