Open
Description
So far incremental compilation did not bring any benefit for cargo check
because incremental compilation only cached post-trans artifacts and the whole point of cargo check
is to exit from compilation before the costly trans and LLVM parts.
With #46004 this has changed and we'll keep adding more and more things to this pre-trans cache. As a consequence we should make sure that cargo check
works in conjunction with CARGO_INCREMENTAL=1
. It already might but we've never tested it and have no regression tests.
cc @nikomatsakis @rust-lang/cargo
Metadata
Metadata
Assignees
Labels
Area: Incremental compilationCategory: An issue proposing an enhancement or a PR with one.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.Relevant to the cargo team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.Working group: Incremental compilation