diff --git a/vm/src/stdlib/os.rs b/vm/src/stdlib/os.rs index 3619702a29..91256ddc8f 100644 --- a/vm/src/stdlib/os.rs +++ b/vm/src/stdlib/os.rs @@ -294,7 +294,7 @@ fn getgroups() -> nix::Result> { } } -#[cfg(any(target_os = "linux", target_os = "redox"))] +#[cfg(any(target_os = "linux", target_os = "redox", target_os = "android"))] fn getgroups() -> nix::Result> { nix::unistd::getgroups() }