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

internal: fix deadlock introduced by #16643 #16652

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

davidbarsky
Copy link
Contributor

@davidbarsky davidbarsky commented Feb 23, 2024

This fixes a deadlock introduced by #16643 (backtrace). maybe_changed_after calls back into other queries, so the cloning here is unfortunately inevitable.

(Zulip conversation: https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer/topic/Fixing.20proc-macro.20dirtying.20with.20unindexed.20projects)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 23, 2024
@davidbarsky davidbarsky requested a review from Veykril February 23, 2024 20:36
@Veykril
Copy link
Member

Veykril commented Feb 23, 2024

@bors r+

@bors
Copy link
Contributor

bors commented Feb 23, 2024

📌 Commit 6477973 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Feb 23, 2024

⌛ Testing commit 6477973 with merge 03b3cb6...

@bors
Copy link
Contributor

bors commented Feb 23, 2024

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing 03b3cb6 to master...

@bors bors merged commit 03b3cb6 into rust-lang:master Feb 23, 2024
11 checks passed
@davidbarsky davidbarsky deleted the david/deadlock-fix-for-16643 branch February 23, 2024 20:51
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants