miri/const eval: support MaybeDangling#150446
Conversation
This comment has been minimized.
This comment has been minimized.
96d2a1d to
72213c3
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
72213c3 to
0d9e008
Compare
This comment has been minimized.
This comment has been minimized.
0d9e008 to
ae69218
Compare
This comment has been minimized.
This comment has been minimized.
|
Does this have insta-stable behavior change for ManuallyDrop in consteval? |
|
It should only affect the behavior of code that still has UB until |
|
It is very import that we land #150447 before landing this, to avoid a situation where we generate LLVM IR with UB but Miri reports no UB. |
e5b7d00 to
959b31b
Compare
|
@RalfJung I think I've addressed the review comments and this is ready for review too :) (still blocked on the compiler change though) |
This comment has been minimized.
This comment has been minimized.
7b01b7c to
4a26802
Compare
|
@RalfJung I think I addressed your nits, unless I missed something ^^' |
There was a problem hiding this comment.
I meant for this to just be a new test in the other file -- no reason to split it up.
4a26802 to
76a750a
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@rustbot review |
|
Awesome, thanks a lot! |
…r=RalfJung miri/const eval: support `MaybeDangling` r? RalfJung
…r=RalfJung miri/const eval: support `MaybeDangling` r? RalfJung
…r=RalfJung miri/const eval: support `MaybeDangling` r? RalfJung
Rollup merge of #150446 - WaffleLapkin:miri-maybe-dangling, r=RalfJung miri/const eval: support `MaybeDangling` r? RalfJung
…uwer Rollup of 4 pull requests Successful merges: - rust-lang/rust#147834 (Always make tuple elements a coercion site) - rust-lang/rust#150446 (miri/const eval: support `MaybeDangling`) - rust-lang/rust#153053 (stop marking `deref_patterns` as an incomplete feature) - rust-lang/rust#153398 (fix ICE in `const_c_variadic` when passing ZSTs)
View all comments
r? RalfJung