-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Add command context to -Zbuild-analysis #16528
Copy link
Copy link
Open
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewZ-build-analysisNightly: build-analysisNightly: build-analysis
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewZ-build-analysisNightly: build-analysisNightly: build-analysis
Type
Fields
Give feedbackNo fields configured for issues without a type.
Problem
I really like the upcoming
-Zbuild-analysisfeature. @weihanglo thank you so much for your work on this!I‘m currently investigating the distribution of rebuilds and their root causes based on this new feature. For this use-case any context about a run that can be retrieved after the fact is super valuable.
Would it technically be possible to include the command that Cargo was invoked with (such as
cargo nextest runorcargo run) as part of the logs?Proposed Solution
Such information could be added as
commandfield toLogMessage::BuildStarted.Notes
No response