Skip to content

[rust] [2/2] Support the elaborated box reprenstation for precise-drops #2036

Open
ArjanSeijs wants to merge 2 commits intofacebook:mainfrom
ArjanSeijs:rust/pr-precise-drop-box-support
Open

[rust] [2/2] Support the elaborated box reprenstation for precise-drops #2036
ArjanSeijs wants to merge 2 commits intofacebook:mainfrom
ArjanSeijs:rust/pr-precise-drop-box-support

Conversation

@ArjanSeijs
Copy link
Copy Markdown
Contributor

and some partial support for modeling drops when retrieving drop glue with --desugar-drops.

We do some abstraction over Box, and NonNull since the compiler has some special handling for how it treats Box and NonNull and their ABI are equivalent.

Merge after #2035

…ecise-drops`. This also sets the mir to elaborated and changes how boxes are represented at the mir level.

Box support will be updated  in the next commit.
…ps and some partial support for modeling drops when retrieving drop glue with --desugar-drops.
@meta-cla meta-cla bot added the CLA Signed label Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant