Rollup merge of #151317 - RalfJung:x86-soft-float, r=workingjubilee
x86 soft-float feature: mark it as forbidden rather than unstable I am not sure why I made it "unstable" inf755f4cd1a; I think at the time "forbidden" did not work for some reason. Making it "forbidden" instead has no significant effect on `-Ctarget-feature` use, it just changes the warning. It *does* have the effect that one cannot query this using `cfg(target_feature)` on nightly any more, but that seems fine to me. It only ever worked as an accidental side-effect off755f4cd1aanyway. r? @workingjubilee
This commit is contained in:
commit
17ba7f246e
5 changed files with 24 additions and 7 deletions
|
|
@ -466,9 +466,7 @@ static X86_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
|
|||
("sha512", Stable, &["avx2"]),
|
||||
("sm3", Stable, &["avx"]),
|
||||
("sm4", Stable, &["avx2"]),
|
||||
// This cannot actually be toggled, the ABI always fixes it, so it'd make little sense to
|
||||
// stabilize. It must be in this list for the ABI check to be able to use it.
|
||||
("soft-float", Stability::Unstable(sym::x87_target_feature), &[]),
|
||||
("soft-float", Stability::Forbidden { reason: "use a soft-float target instead" }, &[]),
|
||||
("sse", Stable, &[]),
|
||||
("sse2", Stable, &["sse"]),
|
||||
("sse3", Stable, &["sse2"]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue