-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
[patch] in config.toml triggers unhelpful warnings #11782
Copy link
Copy link
Open
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.A-patchArea: [patch] table overrideArea: [patch] table overrideC-bugCategory: bugCategory: bugS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.A-patchArea: [patch] table overrideArea: [patch] table overrideC-bugCategory: bugCategory: bugS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Problem
#9269 introduced
[patch]in.cargo/config.toml. If dependencies patched in this way are used in some workspaces but not others, unnecessary warnings are emitted:We use the
xtaskpattern, with workspaces for different targets.Possible Solution(s)
Silence warnings about unused patches that come from
config.tomlsVersion