rust-mobile / ndk

Rust bindings to the Android NDK
Apache License 2.0
1.11k stars 110 forks source link

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

Closed MarijnS95 closed 3 months ago

MarijnS95 commented 3 months ago

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".

MarijnS95 commented 3 months ago

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