-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add group calls to android #3499
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
@bors r+ |
Add group calls to android Following #3014, this PR just implements the group side of the calls, since that doesn't require CI to be updated.
💔 Test failed - checks-actions |
I'll reopen this when the android CI gets fixed up. |
perfect, looks like I get this error message on arm-linux-androideabi, time to fix it up
|
@Takashiidobe would you be able to rebase? I can help figure out the problems if they still exist. |
Still get the same error message, and I think I remember why. CI is on API 24 which is before these calls were introduced (API 26) so this PR won't pass. Just to sanity check, I ran it on my phone which is on API 31, and writing a small program to call getgrent works. I'm not sure if there's a requirement on API level being capped at 24 (if so, then this PR shouldn't pass until that's changed) or if that's a CI limitation? |
You should just be able to exclude tests for the relevant functions in Cc @maurer (android change) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I'll wait for maurer to take a look. Please squash & rebase.
… 26, with exclusions to testing since CI is currently on API 24
bb427cb
to
fd4b70c
Compare
This is fine/appropriate to put into To @Takashiidobe - these functions are performance footguns - Android has too many AIDs, so iterating through them in this fashion can take a nontrivial amount of time, ID based functions are preferred. Iterating via |
… 26, with exclusions to testing since CI is currently on API 24 (backport <rust-lang#3499>) (cherry picked from commit fd4b70c)
Following #3014, this PR just implements the group side of the calls, since that doesn't require CI to be updated.