Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interpret: handle Box with non-ZST allocator #96198

Closed
wants to merge 1 commit into from

Conversation

RalfJung
Copy link
Member

Helps with #95453.
However, the issue is not entirely solved: unsizing casts on such Boxes are still broken (and a lot harder to fix, I think).

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Apr 19, 2022
@rust-highfive
Copy link
Collaborator

Some changes occured to the CTFE / Miri engine

cc @rust-lang/miri

@rust-highfive
Copy link
Collaborator

r? @lcnr

(rust-highfive has picked a reviewer for you, use r? to override)

@oli-obk
Copy link
Contributor

oli-obk commented Apr 19, 2022

As mentioned on the issue, we should wait for #95576 which makes away with the "box is special" at the mir level

@RalfJung
Copy link
Member Author

Yes please. :) I'll happily close this one, basically any other solution seems better.

@RalfJung RalfJung closed this Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants