From 2ec6eb7d71bf7ca3aa342ccad428632e0791758f Mon Sep 17 00:00:00 2001 From: coolreader18 <33094578+coolreader18@users.noreply.github.com> Date: Mon, 26 Aug 2019 20:24:04 -0500 Subject: [PATCH] Fix getgroups on android --- vm/src/stdlib/os.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() }