Termux/Android target support for v0.60.0 (#4956)

* Add android as target os for procfs-based ps

* Turn off code for dealing with trash on platforms which are known to not support a standard trash protocol

* Update lib.rs

* Update lib.rs

Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
This commit is contained in:
Scott Boggs
2022-03-26 14:21:19 -04:00
committed by GitHub
parent 7a789d68a2
commit 71dd857926
5 changed files with 67 additions and 24 deletions

View File

@ -921,7 +921,12 @@ mod test {
// this test assumes that there is a /root directory and that
// the user running this test is not root or otherwise doesn't
// have permission to read its contents
#[cfg(all(unix, not(target_os = "macos")))]
#[cfg(all(
unix,
not(target_os = "macos"),
not(target_os = "android"),
not(target_os = "ios")
))]
#[test]
fn test_iteration_errors() {
use std::io;