-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Provide a way to specify session for cargo report commands #16472
Copy link
Copy link
Closed
Feature Request
Copy link
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 Feature Request.
Problem
In #15844 We have introduce two new unstable commands
cargo report timingscargo report rebuildsto report information for the latest build session.
However, people might want to look at arbitrary previous builds. but there is no way to specify session in other report command.
Proposed Solution
Introduce a way to inspect a specific session for
cargo report timingsandcargo report rebuilds. An--idflag might be a good starting point.We already have
cargo report sessionscommand that lists all previous sessions like this:People can copy those ID and pass to
--id.Notes
No response