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

Subpart10 for async drop (major4) - StateTransform pass improvements #129746

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

Conversation

azhogin
Copy link
Contributor

@azhogin azhogin commented Aug 29, 2024

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

Async drop in StateTransform pass may be expanded into additional yield point or reset to sync version (drop and async_fut terminator fields reset to None).

Added generation of async drop poll function for coroutine itself (create_coroutine_drop_shim_async).

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

@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-subpart10-state-transform branch from b52aadb to c57d5af Compare August 30, 2024 12:55
@azhogin azhogin force-pushed the azhogin/async-drop-subpart10-state-transform branch from c57d5af to cbd1df8 Compare September 8, 2024 20:03
@azhogin azhogin force-pushed the azhogin/async-drop-subpart10-state-transform branch from cbd1df8 to 871da65 Compare September 8, 2024 23:02
@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