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

ndk-sys: Drop cfg for inexistant target_arch = "armv7" #475

Merged
merged 1 commit into from
May 19, 2024

Conversation

MarijnS95
Copy link
Member

Rust nightly since May 6 2024 points out that armv7 is not a known, valid value for the target_arch cfg variable. This is confirmed by the docs not listing it either: https://doc.rust-lang.org/reference/conditional-compilation.html#target_arch

Hence drop this entirely, and rely purely on target_arch = "arm".

[Rust nightly since May 6 2024] points out that `armv7` is not a known,
valid value for the `target_arch` cfg variable.  This is confirmed by
the docs not listing it either:
https://doc.rust-lang.org/reference/conditional-compilation.html#target_arch

Hence drop this entirely, and rely purely on `target_arch = "arm"`.

[Rust nightly since May 6 2024]: https://blog.rust-lang.org/2024/05/06/check-cfg.html
@MarijnS95
Copy link
Member Author

According to #10 armv7 isn't a target_arch either. The issue was closed without being fixed in the ndk-sys crate.

@MarijnS95 MarijnS95 merged commit 10bce81 into master May 19, 2024
38 checks passed
@MarijnS95 MarijnS95 deleted the no-armv7-target-arch branch May 19, 2024 18:59
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.

None yet

1 participant