Repository navigation
Fix gap in const stability checks around intrinsics - #162409
Conversation
|
cc @rust-lang/wg-const-eval Some changes occurred to constck cc @fee1-dead Some changes occurred to the CTFE machinery Some changes occurred to the intrinsics. Make sure the CTFE / Miri interpreter |
|
r? @mati865 rustbot has assigned @mati865. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
sorry about that 😓 |
2d64547 to
bc0851a
Compare
It was me who introduced this bug, you just found it. ;) |
bc0851a to
b3a8050
Compare
This comment has been minimized.
This comment has been minimized.
b3a8050 to
9d60be8
Compare
This comment has been minimized.
This comment has been minimized.
9d60be8 to
022d14a
Compare
4896f11 to
64752fb
Compare
|
@rustbot reroll |
a6cc2c2 to
3bbe9af
Compare
3bbe9af to
fb46c1d
Compare
|
r? @oli-obk |
There was a problem hiding this comment.
@bors r+
oh fun... so much nuance. I hope we'll reach the point where const stability is not really a common thing anymore soon
|
⌛ Testing commit fb46c1d with merge 903b7fc... Workflow: https://github.com/rust-lang/rust/actions/runs/34868907183 |
Fix gap in const stability checks around intrinsics @N1ark managed to find a gap in our const stability checks around intrinsics. This PR fixes that gap. Sadly the standard library already relies on the gap, so for now I added a `rustc_allow_const_fn_unstable` but that attribute usually needs some process to be approved. Also fixes #150961 by properly supporting & testing `rustc_do_not_const_check` on intrinsics.
|
@bors yield |
|
Auto build was cancelled. Cancelled workflows: The next pull request likely to be tested is #162775. |
Rollup merge of #162409 - RalfJung:intrinsic-const-stab, r=oli-obk Fix gap in const stability checks around intrinsics @N1ark managed to find a gap in our const stability checks around intrinsics. This PR fixes that gap. Sadly the standard library already relies on the gap, so for now I added a `rustc_allow_const_fn_unstable` but that attribute usually needs some process to be approved. Also fixes #150961 by properly supporting & testing `rustc_do_not_const_check` on intrinsics.
…uwer Rollup of 3 pull requests Successful merges: - rust-lang/rust#162409 (Fix gap in const stability checks around intrinsics) - rust-lang/rust#162763 (Remove `Box::into_unique`) - rust-lang/rust#162766 (stop unleaking `&mut`s in std and the compiler)
|
Note This PR was benchmarked as part of triage of its containing rollup: triage URL. Finished benchmarking commit (537ff44): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)This perf run didn't have relevant results for this metric. CyclesThis perf run didn't have relevant results for this metric. Binary sizeResults (secondary -0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: missing data |
@N1ark managed to find a gap in our const stability checks around intrinsics. This PR fixes that gap.
Sadly the standard library already relies on the gap, so for now I added a
rustc_allow_const_fn_unstablebut that attribute usually needs some process to be approved.Also fixes #150961 by properly supporting & testing
rustc_do_not_const_checkon intrinsics.