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

Parallel compiler cleanups #109758

Merged
merged 4 commits into from
Mar 31, 2023
Merged

Conversation

nnethercote
Copy link
Contributor

A few small improvements I found while looking closely at this code.

r? @cjgillot

cc @Zoxc, @SparrowLii

@rustbot rustbot added A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) 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. labels Mar 30, 2023
@Zoxc
Copy link
Contributor

Zoxc commented Mar 30, 2023

Looks good to me.

@rust-log-analyzer

This comment has been minimized.

Also, `MTRef<'a, T>` is a typedef for a reference to a `T`, but in
practice it's only used (and useful) in combination with `MTLock`, i.e.
`MTRef<'a, MTLock<T>>`. So this commit changes it to be a typedef for a
reference to an `MTLock<T>`, and renames it as `MTLockRef`. I think this
clarifies things, because I found `MTRef` quite puzzling at first.
@cjgillot
Copy link
Contributor

cc @SparrowLii as that will conflict with your PRs.
@bors r+

@bors
Copy link
Contributor

bors commented Mar 30, 2023

📌 Commit 08dec89 has been approved by cjgillot

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 30, 2023
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Mar 30, 2023
…jgillot

Parallel compiler cleanups

A few small improvements I found while looking closely at this code.

r? `@cjgillot`

cc `@Zoxc,` `@SparrowLii`
@nnethercote
Copy link
Contributor Author

@bors rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 30, 2023
…mpiler-errors

Rollup of 6 pull requests

Successful merges:

 - rust-lang#109347 (Skip no_mangle if the item has no name.)
 - rust-lang#109522 (Implement current_dll_path for AIX)
 - rust-lang#109679 (Freshen normalizes-to hack goal RHS in the evaluate loop)
 - rust-lang#109704 (resolve: Minor improvements to effective visibilities)
 - rust-lang#109739 (Closures always implement `FnOnce` in new solver)
 - rust-lang#109758 (Parallel compiler cleanups)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 249198c into rust-lang:master Mar 31, 2023
@rustbot rustbot added this to the 1.70.0 milestone Mar 31, 2023
@nnethercote nnethercote deleted the parallel-cleanups branch March 31, 2023 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants