error: target feature `soft-float` cannot be enabled with `#[target_feature]`: this feature is incompatible with the target ABI --> $DIR/abi-incompatible-target-feature-attribute.rs:21:32 | LL | #[cfg_attr(x86, target_feature(enable = "soft-float"))] #[cfg_attr(riscv, target_feature(enable = "d"))] | ^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 1 previous error