mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-26 05:30:20 +00:00
21 lines
613 B
Diff
21 lines
613 B
Diff
--- a/compiler/rustc_driver_impl/src/lib.rs
|
|
+++ b/compiler/rustc_driver_impl/src/lib.rs
|
|
@@ -1296,7 +1296,7 @@
|
|
}
|
|
}
|
|
|
|
-#[cfg(all(unix, any(target_env = "gnu", target_os = "macos")))]
|
|
+#[cfg(all(unix, any(target_env = "gnu", target_os = "macos"), not(target_os = "android")))]
|
|
mod signal_handler {
|
|
extern "C" {
|
|
fn backtrace_symbols_fd(
|
|
@@ -1340,7 +1340,7 @@
|
|
}
|
|
}
|
|
|
|
-#[cfg(not(all(unix, any(target_env = "gnu", target_os = "macos"))))]
|
|
+#[cfg(not(all(unix, any(target_env = "gnu", target_os = "macos"), not(target_os = "android"))))]
|
|
mod signal_handler {
|
|
pub(super) fn install() {}
|
|
}
|