miri/const eval: support MaybeDangling#150446
Merged
Merged
Conversation
Collaborator
This comment has been minimized.
This comment has been minimized.
WaffleLapkin
force-pushed
the
miri-maybe-dangling
branch
from
December 27, 2025 21:22
96d2a1d to
72213c3
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
WaffleLapkin
force-pushed
the
miri-maybe-dangling
branch
from
December 27, 2025 21:28
72213c3 to
0d9e008
Compare
This comment has been minimized.
This comment has been minimized.
WaffleLapkin
force-pushed
the
miri-maybe-dangling
branch
from
December 27, 2025 21:36
0d9e008 to
ae69218
Compare
This comment has been minimized.
This comment has been minimized.
theemathas
reviewed
Dec 28, 2025
theemathas
reviewed
Dec 28, 2025
Contributor
|
Does this have insta-stable behavior change for ManuallyDrop in consteval? |
WaffleLapkin
marked this pull request as draft
December 28, 2025 13:42
Member
|
It should only affect the behavior of code that still has UB until |
Member
|
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. |
RalfJung
reviewed
Jan 4, 2026
RalfJung
reviewed
Jan 4, 2026
RalfJung
reviewed
Jan 4, 2026
WaffleLapkin
force-pushed
the
miri-maybe-dangling
branch
2 times, most recently
from
February 26, 2026 14:28
e5b7d00 to
959b31b
Compare
WaffleLapkin
marked this pull request as ready for review
February 26, 2026 16:28
Member
Author
|
@RalfJung I think I've addressed the review comments and this is ready for review too :) (still blocked on the compiler change though) |
RalfJung
reviewed
Mar 6, 2026
WaffleLapkin
force-pushed
the
miri-maybe-dangling
branch
from
March 9, 2026 11:36
4a26802 to
76a750a
Compare
Collaborator
|
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. |
Member
Author
|
@rustbot review |
Member
|
Awesome, thanks a lot! |
Contributor
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Mar 9, 2026
…r=RalfJung miri/const eval: support `MaybeDangling` r? RalfJung
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Mar 9, 2026
…r=RalfJung miri/const eval: support `MaybeDangling` r? RalfJung
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Mar 9, 2026
…r=RalfJung miri/const eval: support `MaybeDangling` r? RalfJung
rust-timer
added a commit
that referenced
this pull request
Mar 9, 2026
Rollup merge of #150446 - WaffleLapkin:miri-maybe-dangling, r=RalfJung miri/const eval: support `MaybeDangling` r? RalfJung
github-actions Bot
pushed a commit
to rust-lang/miri
that referenced
this pull request
Mar 10, 2026
…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)
9 tasks
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Apr 26, 2026
…r=jhpratt Document that `ManuallyDrop`'s `Box` interaction has been fixed Both rust-lang#150447 and rust-lang#150446 has been merged in `1.96.0`, fixing the unfortunate `ManuallyDrop<Box<_>>` behavior. cc @RalfJung
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Jun 15, 2026
…r=jhpratt Document that `ManuallyDrop`'s `Box` interaction has been fixed Both rust-lang#150447 and rust-lang#150446 has been merged in `1.96.0`, fixing the unfortunate `ManuallyDrop<Box<_>>` behavior. cc @RalfJung
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this pull request
Jun 15, 2026
…r=jhpratt Document that `ManuallyDrop`'s `Box` interaction has been fixed Both rust-lang#150447 and rust-lang#150446 has been merged in `1.96.0`, fixing the unfortunate `ManuallyDrop<Box<_>>` behavior. cc @RalfJung
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Jun 15, 2026
…r=jhpratt Document that `ManuallyDrop`'s `Box` interaction has been fixed Both rust-lang#150447 and rust-lang#150446 has been merged in `1.96.0`, fixing the unfortunate `ManuallyDrop<Box<_>>` behavior. cc @RalfJung
rust-timer
added a commit
that referenced
this pull request
Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
View all comments
r? RalfJung