mirror of
https://github.com/termux/termux-packages.git
synced 2025-09-20 16:59:36 +00:00
18 lines
845 B
Diff
18 lines
845 B
Diff
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs
|
|
index 2bcc33241df..a018e383536 100644
|
|
--- a/compiler/rustc_driver_impl/src/lib.rs
|
|
+++ b/compiler/rustc_driver_impl/src/lib.rs
|
|
@@ -89,10 +89,10 @@
|
|
#[macro_use]
|
|
mod print;
|
|
mod session_diagnostics;
|
|
-#[cfg(all(not(miri), unix, any(target_env = "gnu", target_os = "macos")))]
|
|
+#[cfg(all(not(miri), unix, any(target_env = "gnu", target_os = "macos"), not(target_os = "android")))]
|
|
mod signal_handler;
|
|
|
|
-#[cfg(not(all(not(miri), unix, any(target_env = "gnu", target_os = "macos"))))]
|
|
+#[cfg(not(all(not(miri), 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.
|