diff --git a/src/lib.rs b/src/lib.rs index 1cd2fe1..557be1f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -37,7 +37,7 @@ pub trait FilePath { } impl FilePath for File { - #[cfg(target_os = "linux")] + #[cfg(any(target_os = "linux", target_os = "android"))] fn path(&self) -> io::Result { use std::path::Path;