Auto merge of #35814 - alexcrichton:armv7-no-neon, r=brson

rustc: Don't enable NEON by default on armv7 Linux

One of the primary platforms for the `armv7-unknown-linux-gnueabihf` target,
Linux distributions, do not enable NEON extensions by default. This PR disables
that feature by defualt but enables the `d16` feature which enables VFP3D16 that
distributions do enable.

Closes #35590
This commit is contained in:
bors 2016-08-24 23:05:47 -07:00 committed by GitHub
commit f5499a001d

View File

@ -23,8 +23,9 @@ pub fn target() -> TargetResult {
target_vendor: "unknown".to_string(),
options: TargetOptions {
features: "+v7,+vfp3,+neon".to_string(),
cpu: "cortex-a8".to_string(),
// Info about features at https://wiki.debian.org/ArmHardFloatPort
features: "+v7,+vfp3,+d16,+thumb2".to_string(),
cpu: "generic".to_string(),
max_atomic_width: 64,
.. base
}