Skip to content
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

cpufeatures: Add support for AArch64 Android (essentially a Linux variant) #752

Merged
merged 1 commit into from
Mar 18, 2022

Conversation

jrose-signal
Copy link
Contributor

Checking against google/cpu_features it looks like Android follows Linux exactly in how it defines getauxval, so it really is just turning it on in aarch64.rs.

I have not actually tried running this on a 64-bit Android device yet; I'll get to that a bit later today. (Have to get that development environment set up again.) It does pass cargo build --target aarch64-linux-android, though (unsurprisingly).

Fixes #751.

@tarcieri tarcieri merged commit 9777567 into RustCrypto:master Mar 18, 2022
@jrose-signal jrose-signal deleted the aarch64-android branch March 18, 2022 19:32
@tarcieri tarcieri mentioned this pull request Mar 18, 2022
@jrose-signal
Copy link
Contributor Author

I have not actually tried running this on a 64-bit Android device yet; I'll get to that a bit later today.

(Just checking in that I did, in fact, get to this, and it does work.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cpufeatures: Use getauxval for aarch64 Android as well
2 participants