-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Closed
Labels
A-metadataArea: Crate metadataArea: Crate metadataI-compiletimeIssue: Problems and improvements with respect to compile times.Issue: Problems and improvements with respect to compile times.WG-compiler-performanceWorking group: Compiler PerformanceWorking group: Compiler Performance
Description
When build with cargo check we only create crate metadata, which is enough to compile downstream crates. Crate metadata contains the MIR of many items. Usually, this MIR is optimized before being stored in metadata. For cargo check this doesn't make sense though because the MIR is only used for analysis, never for codegen. Let's not do this unnecessary work.
shingtaklam1324
Metadata
Metadata
Assignees
Labels
A-metadataArea: Crate metadataArea: Crate metadataI-compiletimeIssue: Problems and improvements with respect to compile times.Issue: Problems and improvements with respect to compile times.WG-compiler-performanceWorking group: Compiler PerformanceWorking group: Compiler Performance