Rollup merge of #83803 - surechen:add_target_feature, r=petrochenkov

add fp-armv8 for ARM_ALLOWED_FEATURES

For fixing err in https://github.com/rust-lang/stdarch/pull/1105.
This commit is contained in:
Yuki Okushi 2021-04-04 00:19:39 +09:00 committed by GitHub
commit d0266e3c1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@ const ARM_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
("vfp2", Some(sym::arm_target_feature)), ("vfp2", Some(sym::arm_target_feature)),
("vfp3", Some(sym::arm_target_feature)), ("vfp3", Some(sym::arm_target_feature)),
("vfp4", Some(sym::arm_target_feature)), ("vfp4", Some(sym::arm_target_feature)),
("fp-armv8", Some(sym::arm_target_feature)),
// This is needed for inline assembly, but shouldn't be stabilized as-is // This is needed for inline assembly, but shouldn't be stabilized as-is
// since it should be enabled per-function using #[instruction_set], not // since it should be enabled per-function using #[instruction_set], not
// #[target_feature]. // #[target_feature].