mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
Fix getgroups on android
This commit is contained in:
@@ -294,7 +294,7 @@ fn getgroups() -> nix::Result<Vec<Gid>> {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(target_os = "linux", target_os = "redox"))]
|
||||
#[cfg(any(target_os = "linux", target_os = "redox", target_os = "android"))]
|
||||
fn getgroups() -> nix::Result<Vec<Gid>> {
|
||||
nix::unistd::getgroups()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user