diff options
| author | Matthew Maurer <mmaurer@google.com> | 2024-07-30 22:52:51 +0000 |
|---|---|---|
| committer | Matthew Maurer <mmaurer@google.com> | 2024-07-31 01:03:36 +0000 |
| commit | 7d7ad7b87484e37e6438bb88d044228fa350468b (patch) | |
| tree | a7caf2d4ebf856ca2a59c7a9ad86ddfe5253f630 /library/std/src/sys/pal/unix/mod.rs | |
| parent | f8060d282d42770fadd73905e3eefb85660d3278 (diff) | |
| download | rust-7d7ad7b87484e37e6438bb88d044228fa350468b.tar.gz rust-7d7ad7b87484e37e6438bb88d044228fa350468b.zip | |
android: Remove libstd hacks for unsupported Android APIs
Our minimum supported API version is 21, remove hacks to support older Android APIs.
Diffstat (limited to 'library/std/src/sys/pal/unix/mod.rs')
| -rw-r--r-- | library/std/src/sys/pal/unix/mod.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/library/std/src/sys/pal/unix/mod.rs b/library/std/src/sys/pal/unix/mod.rs index 3fc51ff59a9..b62129f4cdd 100644 --- a/library/std/src/sys/pal/unix/mod.rs +++ b/library/std/src/sys/pal/unix/mod.rs @@ -8,7 +8,6 @@ use crate::io::ErrorKind; pub mod weak; pub mod alloc; -pub mod android; pub mod args; pub mod env; pub mod fd; @@ -237,12 +236,8 @@ pub unsafe fn cleanup() { } #[allow(unused_imports)] -#[cfg(not(target_os = "android"))] pub use libc::signal; -#[cfg(target_os = "android")] -pub use crate::sys::android::signal; - #[inline] pub(crate) fn is_interrupted(errno: i32) -> bool { errno == libc::EINTR |
