mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-27 14:10:32 +00:00
16 lines
672 B
Diff
16 lines
672 B
Diff
--- a/compiler/rustc_driver_impl/src/lib.rs
|
|
+++ b/compiler/rustc_driver_impl/src/lib.rs
|
|
@@ -87,10 +87,10 @@
|
|
#[macro_use]
|
|
mod print;
|
|
mod session_diagnostics;
|
|
-#[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;
|
|
|
|
-#[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 {
|
|
/// On platforms which don't support our signal handler's requirements,
|
|
/// simply use the default signal handler provided by std.
|