mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-13 05:10:51 +00:00
- Fixes https://github.com/termux/termux-packages/issues/27677 - Force bump dependency crate `rustix` to 1.1.3 to fix error `failed to resolve: use of unresolved module or unlinked crate 'linux_raw_sys'`
22 lines
805 B
Diff
22 lines
805 B
Diff
--- a/pueue/Cargo.toml
|
|
+++ b/pueue/Cargo.toml
|
|
@@ -67,7 +67,7 @@ similar-asserts = "1"
|
|
# --- Platform specific dependencies ---
|
|
|
|
# Linux
|
|
-[target.'cfg(target_os = "linux")'.dependencies]
|
|
+[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
|
|
procfs = { version = "0.18", default-features = false }
|
|
|
|
# Linux + Mac OS
|
|
-- a/pueue/src/process_helper/mod.rs
|
|
+++ b/pueue/src/process_helper/mod.rs
|
|
@@ -21,6 +21,6 @@ pub use self::unix::*;
|
|
|
|
// Platform specific process support
|
|
-#[cfg_attr(target_os = "linux", path = "linux.rs")]
|
|
+#[cfg_attr(any(target_os = "linux", target_os = "android"), path = "linux.rs")]
|
|
#[cfg_attr(target_vendor = "apple", path = "apple.rs")]
|
|
#[cfg_attr(target_os = "windows", path = "windows.rs")]
|
|
#[cfg_attr(target_os = "freebsd", path = "freebsd.rs")]
|