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

Subpart9 for async drop (major3) - elaborate_drops changes #129745

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

azhogin
Copy link
Contributor

@azhogin azhogin commented Aug 29, 2024

This is subpart 9 PR of #123948, just for review purposes.

Changes in drop elaboration to support async drops.
Drop elaboration is used to generate sync drop glue with drops of all internals included.
Async drop poll function is generated now using a similar way - first splitting dropee type using drop elaboration, and then StateTransform'ing it into coroutine poll function (StateTransform changes and shim generation in latter commits).

Review only last commit, based on previous PR #129744.

@rustbot rustbot added 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. T-libs Relevant to the library team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Aug 29, 2024
@azhogin azhogin force-pushed the azhogin/async-drop-subpart9-elaborate-drops branch from 298c6ec to 06acd8c Compare August 30, 2024 12:28
@azhogin azhogin force-pushed the azhogin/async-drop-subpart9-elaborate-drops branch from 06acd8c to 04ef2a5 Compare September 8, 2024 18:49
@azhogin azhogin force-pushed the azhogin/async-drop-subpart9-elaborate-drops branch from 04ef2a5 to 28c0f53 Compare September 8, 2024 23:01
@bors
Copy link
Contributor

bors commented Sep 9, 2024

☔ The latest upstream changes (presumably #130165) made this pull request unmergeable. Please resolve the merge conflicts.

@davidtwco
Copy link
Member

r? @nikomatsakis is going to look into this

@rustbot rustbot assigned nikomatsakis and unassigned davidtwco Oct 1, 2024
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. T-libs Relevant to the library team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants