Skip to content

Commit bd93816

Browse files
committed
Auto merge of #33115 - mbrubeck:vfp3-d16, r=nrc
Enable vfp3-d16 for ARMv7 Android target Android's [armeabi-v7a ABI][1] guarantees at least VFPv3-d16 hardware FPU support, so Rust should include this in the default features for the `arm-linux-androideabi` target. [1]: https://developer.android.com/ndk/guides/abis.html
2 parents 90318b8 + 4d7b930 commit bd93816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_back/target/arm_linux_androideabi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use target::Target;
1212

1313
pub fn target() -> Target {
1414
let mut base = super::android_base::opts();
15-
base.features = "+v7".to_string();
15+
base.features = "+v7,+vfp3,+d16".to_string();
1616

1717
Target {
1818
llvm_target: "arm-linux-androideabi".to_string(),

0 commit comments

Comments
 (0)