x86 soft-float feature: mark it as forbidden rather than unstable#151317
x86 soft-float feature: mark it as forbidden rather than unstable#151317rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Conversation
|
|
|
yesteryear's Ralf said:
|
|
🤔 Hm, there is also the cfg part that I apparently missed back then. |
I don't mind breaking this, but that's a subtle change that nothing currently detects. Could we have a test? |
|
I'm getting high "yeah this is roughly what we want" vibes from the way Jubilee was talking in that PR, so I think I definitely evaluated the diff, and was thinking about So Ralf Junger could have just been subtly wrong (or right in a way that quickly changed) and Jubilee Younger could have just been kinda vibing on that point since it didn't seem terribly important. As I noted previously, it's affecting nightly-only stuff, so everyone bought the ticket on the ride they're going to get taken on if they depended on this detail, especially given it was previously Forbidden. |
|
Ohhh, maybe the "duplicate warnings" was for both setting |
|
Fair point, I will add a test.
"Forbidden" still allows the feature to be set in target specs, so I don't think it was this. |
4fd7c23 to
c7f6b3f
Compare
This comment has been minimized.
This comment has been minimized.
c7f6b3f to
fdc7cfd
Compare
|
cool. Let's hope we at least figure out what we were thinking about when we wind up revisiting this for some reason in 2027. :^) @bors r+ rollup |
…jubilee x86 soft-float feature: mark it as forbidden rather than unstable I am not sure why I made it "unstable" in rust-lang@f755f4c; 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 of f755f4c anyway. r? @workingjubilee
…uwer Rollup of 11 pull requests Successful merges: - #145393 (Add codegen test for removing trailing zeroes from `NonZero`) - #148764 (ptr_aligment_type: add more APIs) - #149869 (std: avoid tearing `dbg!` prints) - #150065 (add CSE optimization tests for iterating over slice) - #150842 (Fix(lib/win/thread): Ensure `Sleep`'s usage passes over the requested duration under Win7) - #151505 (Various refactors to the proc_macro bridge) - #151560 (relnotes: fix 1.93's `as_mut_array` methods) - #151611 (Improve is_ascii performance on x86_64 with explicit SSE2 intrinsics) - #151317 (x86 soft-float feature: mark it as forbidden rather than unstable) - #151577 (Rename `DepKindStruct` to `DepKindVTable`) - #151620 (Fix 'the the' typo in library/core/src/array/iter.rs)
Rollup of 10 pull requests Successful merges: - #145393 (Add codegen test for removing trailing zeroes from `NonZero`) - #148764 (ptr_aligment_type: add more APIs) - #149869 (std: avoid tearing `dbg!` prints) - #150065 (add CSE optimization tests for iterating over slice) - #150842 (Fix(lib/win/thread): Ensure `Sleep`'s usage passes over the requested duration under Win7) - #151505 (Various refactors to the proc_macro bridge) - #151560 (relnotes: fix 1.93's `as_mut_array` methods) - #151317 (x86 soft-float feature: mark it as forbidden rather than unstable) - #151577 (Rename `DepKindStruct` to `DepKindVTable`) - #151620 (Fix 'the the' typo in library/core/src/array/iter.rs)
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" in f755f4c; 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 of f755f4c anyway. r? @workingjubilee
Rollup of 10 pull requests Successful merges: - rust-lang/rust#145393 (Add codegen test for removing trailing zeroes from `NonZero`) - rust-lang/rust#148764 (ptr_aligment_type: add more APIs) - rust-lang/rust#149869 (std: avoid tearing `dbg!` prints) - rust-lang/rust#150065 (add CSE optimization tests for iterating over slice) - rust-lang/rust#150842 (Fix(lib/win/thread): Ensure `Sleep`'s usage passes over the requested duration under Win7) - rust-lang/rust#151505 (Various refactors to the proc_macro bridge) - rust-lang/rust#151560 (relnotes: fix 1.93's `as_mut_array` methods) - rust-lang/rust#151317 (x86 soft-float feature: mark it as forbidden rather than unstable) - rust-lang/rust#151577 (Rename `DepKindStruct` to `DepKindVTable`) - rust-lang/rust#151620 (Fix 'the the' typo in library/core/src/array/iter.rs)
Rollup of 10 pull requests Successful merges: - rust-lang/rust#145393 (Add codegen test for removing trailing zeroes from `NonZero`) - rust-lang/rust#148764 (ptr_aligment_type: add more APIs) - rust-lang/rust#149869 (std: avoid tearing `dbg!` prints) - rust-lang/rust#150065 (add CSE optimization tests for iterating over slice) - rust-lang/rust#150842 (Fix(lib/win/thread): Ensure `Sleep`'s usage passes over the requested duration under Win7) - rust-lang/rust#151505 (Various refactors to the proc_macro bridge) - rust-lang/rust#151560 (relnotes: fix 1.93's `as_mut_array` methods) - rust-lang/rust#151317 (x86 soft-float feature: mark it as forbidden rather than unstable) - rust-lang/rust#151577 (Rename `DepKindStruct` to `DepKindVTable`) - rust-lang/rust#151620 (Fix 'the the' typo in library/core/src/array/iter.rs)
I am not sure why I made it "unstable" in f755f4c; I think at the time "forbidden" did not work for some reason.
Making it "forbidden" instead has no significant effect on
-Ctarget-featureuse, it just changes the warning. It does have the effect that one cannot query this usingcfg(target_feature)on nightly any more, but that seems fine to me. It only ever worked as an accidental side-effect of f755f4c anyway.r? @workingjubilee