-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Conversation
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.
r? @wesleywiser (rustbot has picked a reviewer for you, use r? to override) |
These commits modify the If this was intentional then you can ignore this comment. Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
This PR combined with #110396 reduced |
r=me unless you want a reviewer from t-compiler |
r? @fee1-dead @bors r=fee1-dead,jyn514 |
…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.
…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
Cc #100061 |
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.