Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't enable a feature that only exists in a local Cargo override #3033

Closed
jdm opened this issue Aug 23, 2016 · 3 comments
Closed

Can't enable a feature that only exists in a local Cargo override #3033

jdm opened this issue Aug 23, 2016 · 3 comments
Labels
A-documenting-cargo-itself Area: Cargo's documentation

Comments

@jdm
Copy link

jdm commented Aug 23, 2016

I have a local clone of servo/rust-mozjs, and I have added the path to Servo's .cargo/config. When I add promises = ['mozjs_sys/promises'] to the clone's features section, then add features = ["promises"] to Servo's Cargo.toml entry for rust-mozjs, I get this error:

error: Package `js v0.1.3 (https://github.com/servo/rust-mozjs#755c8cc8)` does not have these features: `promises`
@alexcrichton
Copy link
Member

Yeah this is unfortunately just another limitation of path overrides, we should document it though!

@alexcrichton alexcrichton added the A-documenting-cargo-itself Area: Cargo's documentation label Aug 23, 2016
@kellda
Copy link
Contributor

kellda commented Jun 6, 2020

Looks like a duplicate of #2762, maybe either one can be closed ?

@kellda
Copy link
Contributor

kellda commented Jun 6, 2020

Looks like a duplicate of #2582, maybe either one can be closed ?

@ehuss ehuss closed this as completed Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-documenting-cargo-itself Area: Cargo's documentation
Projects
None yet
Development

No branches or pull requests

4 participants