Summary
Implementation: #15780
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#section-timings
The -Zsection-timings flag tells Cargo to pass --json=timings to rustc when cargo build --timings is used. This enables extended display of individual compilation sections (such as linking) in the timings HTML/JSON output.
Fixes #14265, #10643
Unresolved Issues
Future Extensions
No response
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
Implementation: #15780
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#section-timings
The
-Zsection-timingsflag tells Cargo to pass--json=timingsto rustc whencargo build --timingsis used. This enables extended display of individual compilation sections (such as linking) in the timings HTML/JSON output.Fixes #14265, #10643
Unresolved Issues
--json=timingsbehing-Zsection-timings#15780 (comment))Future Extensions
No response
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.