Summary
Original issue: rust-lang/rust-project-goals#332
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#build-analysis
Project goal: rust-lang/rust-project-goals#398
The -Zbuild-analysis feature records and persists detailed build metrics (timings, rebuild reasons, etc.) across runs, with new commands to query past builds.
See also
Unresolved Issues
See the unresolved design questions in the design doc: https://hackmd.io/K5-sGEJeR5mLGsJLXqsHrw?view#Unresolved-questions.
Future Extensions
Implementations
See the design doc: https://hackmd.io/K5-sGEJeR5mLGsJLXqsHrw
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Summary
Original issue: rust-lang/rust-project-goals#332
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#build-analysis
Project goal: rust-lang/rust-project-goals#398
The
-Zbuild-analysisfeature records and persists detailed build metrics (timings, rebuild reasons, etc.) across runs, with new commands to query past builds.See also
Unresolved Issues
See the unresolved design questions in the design doc: https://hackmd.io/K5-sGEJeR5mLGsJLXqsHrw?view#Unresolved-questions.
--timings#16414 (comment) (classic overloaded "target" term)cargo report sessions--message-format=json?)cargo report rebuilds-Cmetadata/-Cextra-filename) feat(report): add cargo report rebuilds #16456 (comment)Future Extensions
Implementations
See the design doc: https://hackmd.io/K5-sGEJeR5mLGsJLXqsHrw
timing-infoeventcargo report sessions#16428cargo reportcommandscargo report timingsHTML log replaycargo report rebuild-reasonintegrationAbout tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.