Include package name/version in build script warnings. #8018
Labels
A-build-scripts
Area: build.rs scripts
A-console-output
Area: Terminal output, colors, progress bar, etc.
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
E-easy
Experience: Easy
S-accepted
Status: Issue or feature is accepted, and has a team member available to help mentor or review
Describe the problem you are trying to solve
In some situations, it is not clear where a warning is coming from when emitted from a build script. For example, a build script like this:
displays:
Describe the solution you'd like
I think it might be helpful to prefix the warning with the package name and version (similar to how
-vv
output is). Perhaps something like this:Notes
Warnings are emitted here. The package name/version should be accessible from the unit.
The text was updated successfully, but these errors were encountered: