Skip to content

Commit

Permalink
Auto merge of #108493 - cjgillot:thir-print, r=compiler-errors
Browse files Browse the repository at this point in the history
Move THIR printing to rustc_mir_build.

rust-lang/rust#107451 increased the compilation time of `rustc_middle` by 10% = 3s.

As rust-lang/rust#107006 adds quite a lot of code to rustc_middle, I suspect it to be the cause.

This PR moves the THIR printing code to `rustc_mir_build`, where the query provider lives, in order to benefit from higher parallelism when compiling rustc.
  • Loading branch information
bors committed Feb 27, 2023
2 parents 981d633 + 385eef4 commit 98ca728
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 98ca728

Please sign in to comment.