Skip to content

Commit

Permalink
Rollup merge of #83803 - surechen:add_target_feature, r=petrochenkov
Browse files Browse the repository at this point in the history
add fp-armv8 for ARM_ALLOWED_FEATURES

For fixing err in rust-lang/stdarch#1105.
  • Loading branch information
JohnTitor committed Apr 3, 2021
2 parents 6a436aa + 944b53e commit d0266e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_codegen_ssa/src/target_features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const ARM_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
("vfp2", Some(sym::arm_target_feature)),
("vfp3", 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
// since it should be enabled per-function using #[instruction_set], not
// #[target_feature].
Expand Down

0 comments on commit d0266e3

Please sign in to comment.