Skip to content

Enabling features from [replace] or [patch] doesn't work #3034

Closed
@jdm

Description

@jdm

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.

Metadata

Metadata

Assignees

Labels

A-diagnosticsArea: Error and warning messages generated by Cargo itself.A-featuresArea: features — conditional compilationA-overridesArea: general issues with overriding dependencies (patch, replace, paths)A-patchArea: [patch] table overrideA-replaceArea: [replace] table overrideE-easyExperience: Easy

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions