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

Prereq4 for async drop - needs_async_drop query fixes and some cleanup #129739

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

Conversation

azhogin
Copy link
Contributor

@azhogin azhogin commented Aug 29, 2024

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

is_async_drop query added, small needs_async_drop fixes and previous async drop glue implementation cleanup.
is_async_drop for detection of type implementing AsyncDrop trait itself, needs_async_drop for detection if a complex type have some internals implementing AsyncDrop and requires async drop glue for itself.

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

@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 labels Aug 29, 2024
@rustbot
Copy link
Collaborator

rustbot commented Aug 29, 2024

Some changes occurred to the CTFE / Miri engine

cc @rust-lang/miri

Some changes occurred in compiler/rustc_codegen_cranelift

cc @bjorn3

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

This PR changes MIR

cc @oli-obk, @RalfJung, @JakobDegen, @davidtwco, @celinval, @vakaras

This PR changes Stable MIR

cc @oli-obk, @celinval, @ouz-a

@rust-log-analyzer

This comment has been minimized.

@azhogin azhogin mentioned this pull request Aug 29, 2024
@azhogin azhogin force-pushed the azhogin/async-drop-prereq4-needs-async-drop-fixes-and-cleanup branch from b667246 to ccf830a Compare August 30, 2024 07:33
@rust-log-analyzer

This comment has been minimized.

@azhogin azhogin force-pushed the azhogin/async-drop-prereq4-needs-async-drop-fixes-and-cleanup branch from ccf830a to b193d6a Compare August 30, 2024 09:01
@azhogin azhogin marked this pull request as draft August 30, 2024 09:09
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Aug 31, 2024

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

@azhogin azhogin force-pushed the azhogin/async-drop-prereq4-needs-async-drop-fixes-and-cleanup branch 2 times, most recently from e0d8585 to aa7c159 Compare September 7, 2024 14:33
@rust-log-analyzer

This comment has been minimized.

@azhogin azhogin force-pushed the azhogin/async-drop-prereq4-needs-async-drop-fixes-and-cleanup branch from aa7c159 to 2d5cad6 Compare September 7, 2024 16:19
@bors
Copy link
Contributor

bors commented Sep 8, 2024

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

@azhogin azhogin force-pushed the azhogin/async-drop-prereq4-needs-async-drop-fixes-and-cleanup branch from 2d5cad6 to 81c51d9 Compare September 8, 2024 12:03
@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.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants