Files
termux-packages/packages/rust/compiler-rustc_driver-src-lib.rs.patch
termux-pacman-bot 2628cf3e26 rust: Bump to 1.69.0
2023-04-22 03:01:36 +00:00

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() {}
}