Skip to content

Commit b67a656

Browse files
committed
also ban soft-float target feature on ARM
1 parent 25e11b1 commit b67a656

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_target/src/target_features.rs

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ const ARM_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
9797
("neon", Unstable(sym::arm_target_feature), &["vfp3"]),
9898
("rclass", Unstable(sym::arm_target_feature), &[]),
9999
("sha2", Unstable(sym::arm_target_feature), &["neon"]),
100+
("soft-float", Forbidden, &[]), // changes float ABI
100101
// This is needed for inline assembly, but shouldn't be stabilized as-is
101102
// since it should be enabled per-function using #[instruction_set], not
102103
// #[target_feature].

0 commit comments

Comments
 (0)