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

Move some utils out of rustc_const_eval #110397

Merged
merged 1 commit into from
Apr 16, 2023

Conversation

Noratrieb
Copy link
Member

This allows us to get rid of the rustc_const_eval->rustc_borrowck dependency edge which was delaying the compilation of borrowck.

The added utils in rustc_middle are small and should not affect compile times there.

This allows us to get rid of the `rustc_const_eval->rustc_borrowck`
dependency edge which was delaying the compilation of borrowck.

The added utils in `rustc_middle` are small and should not affect
compile times there.
@rustbot
Copy link
Collaborator

rustbot commented Apr 16, 2023

r? @wesleywiser

(rustbot has picked a reviewer for you, use r? to override)

@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. labels Apr 16, 2023
@rustbot
Copy link
Collaborator

rustbot commented Apr 16, 2023

These commits modify the Cargo.lock file. Random changes to Cargo.lock can be introduced when switching branches and rebasing PRs.
This was probably unintentional and should be reverted before this PR is merged.

If this was intentional then you can ignore this comment.

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

@Noratrieb
Copy link
Member Author

Noratrieb commented Apr 16, 2023

This PR combined with #110396 reduced x clean compiler/rustc_middle && x check compiler from 37s to 28s.

@jyn514
Copy link
Member

jyn514 commented Apr 16, 2023

r=me unless you want a reviewer from t-compiler

@fee1-dead
Copy link
Member

r? @fee1-dead

@bors r=fee1-dead,jyn514

@bors
Copy link
Contributor

bors commented Apr 16, 2023

📌 Commit 2109fe4 has been approved by fee1-dead,jyn514

It is now in the queue for this repository.

@rustbot rustbot assigned fee1-dead and unassigned wesleywiser Apr 16, 2023
@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 Apr 16, 2023
fee1-dead added a commit to fee1-dead-contrib/rust that referenced this pull request Apr 16, 2023
…e1-dead,jyn514

Move some utils out of `rustc_const_eval`

This allows us to get rid of the `rustc_const_eval->rustc_borrowck` dependency edge which was delaying the compilation of borrowck.

The added utils in `rustc_middle` are small and should not affect compile times there.
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 16, 2023
…fee1-dead

Rollup of 4 pull requests

Successful merges:

 - rust-lang#110397 (Move some utils out of `rustc_const_eval`)
 - rust-lang#110398 (use matches! macro in more places)
 - rust-lang#110400 (more clippy fixes: clippy::{iter_cloned_collect, unwarp_or_else_defau…)
 - rust-lang#110402 (Remove the loop in `Align::from_bytes`)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@RalfJung
Copy link
Member

Cc #100061

@bors bors merged commit 508d661 into rust-lang:master Apr 16, 2023
@rustbot rustbot added this to the 1.71.0 milestone Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

7 participants