-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-environment-variablesArea: environment variablesArea: environment variablesA-gitArea: anything dealing with gitArea: anything dealing with gitA-vcsArea: general VCS issuesArea: general VCS issuesC-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-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Problem
Cargo is aware of the vcs information of the tree it is building, would be great to have it exported as environment variable.
Proposed Solution
Populate CARGO_VCS_VERSION
, CARGO_VCS_VERSION_LONG
with a compact and a long representation of the current tree, e.g. what git describe --tags
and the full commit hash.
Notes
No response
mhfan
Metadata
Metadata
Assignees
Labels
A-environment-variablesArea: environment variablesArea: environment variablesA-gitArea: anything dealing with gitArea: anything dealing with gitA-vcsArea: general VCS issuesArea: general VCS issuesC-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-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.