-
Notifications
You must be signed in to change notification settings - Fork 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 missing constants for Android #3779
Conversation
r? @JohnTitor rustbot has assigned @JohnTitor. Use |
923976c
to
aa04069
Compare
@maurer would you mind taking a look at this? |
r? @maurer |
Failed to set assignee to
|
This looks fine to me, the reason those constants were 64-bit only before was as a hacky form of version detection. However, now that our min API level is 21, we shouldn't need to worry about that, and making them available to 32-bit should be appropriate. The rest of this appears to be appropriate constant migration. The only thing I'll note is that since this bumps the NDK to the latest stable (r27), we'll want to bump it in |
☔ The latest upstream changes (presumably #3777) made this pull request unmergeable. Please resolve the merge conflicts. |
@tgross35 hi, would you mind taking a look at this? |
Please be patient with reviews, there are a lot of open PRs. Relevant headers for comparison:
A few questions below then LGTM. Thanks Matthew for taking a look too. @rustbot author |
@rustbot ready |
@rustbot author |
@rustbot ready |
Oh I only meant to start with the API added here for the risc-v file. But no harm of course :) Please rebase to drop the merge commit, then looks good to me. |
Rebased |
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.
Thanks!
(backport <rust-lang#3779>) (cherry picked from commit 93e531e)
(backport <rust-lang#3779>) (cherry picked from commit d22cc19)
(backport <rust-lang#3779>) (cherry picked from commit d22cc19)
(backport <rust-lang#3779>) [resolve conflicts - Trevor] (cherry picked from commit d22cc19)
(backport <rust-lang#3779>) [resolve conflicts - Trevor] (cherry picked from commit 93e531e)
(backport <rust-lang#3779>) (cherry picked from commit d22cc19)
No description provided.