Skip to content

interpret: handle Box with non-ZST allocator - #96198

Closed
RalfJung wants to merge 1 commit into
rust-lang:masterfrom
RalfJung:interpret-box-alloc
Closed

interpret: handle Box with non-ZST allocator#96198
RalfJung wants to merge 1 commit into
rust-lang:masterfrom
RalfJung:interpret-box-alloc

Conversation

@RalfJung

Copy link
Copy Markdown
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
Copy Markdown
Contributor

Some changes occured to the CTFE / Miri engine

cc @rust-lang/miri

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @lcnr

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

@oli-obk

oli-obk commented Apr 19, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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.

5 participants