-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Enabling features from [replace] or [patch] doesn't work #3034
Copy link
Copy link
Closed
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.A-featuresArea: features — conditional compilationArea: features — conditional compilationA-overridesArea: general issues with overriding dependencies (patch, replace, paths)Area: general issues with overriding dependencies (patch, replace, paths)A-patchArea: [patch] table overrideArea: [patch] table overrideA-replaceArea: [replace] table overrideArea: [replace] table overrideE-easyExperience: EasyExperience: Easy
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.A-featuresArea: features — conditional compilationArea: features — conditional compilationA-overridesArea: general issues with overriding dependencies (patch, replace, paths)Area: general issues with overriding dependencies (patch, replace, paths)A-patchArea: [patch] table overrideArea: [patch] table overrideA-replaceArea: [replace] table overrideArea: [replace] table overrideE-easyExperience: EasyExperience: Easy
Type
Fields
Give feedbackNo fields configured for issues without a type.
If I add a path replacement for an existing dependency in my Cargo.toml, then add a nonexistent feature to it (eg.
"js:0.1.3" = {path = "../rust-mozjs", features = ["nonexistent_feature"]}, Cargo does not complain. This implies to me that it's also impossible to enable existing features, since I'm having trouble with that as well.