]> git.proxmox.com Git - cargo.git/commit
Fix overriding mixing with default features
authorAlex Crichton <alex@alexcrichton.com>
Fri, 17 Mar 2017 23:12:11 +0000 (16:12 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 17 Mar 2017 23:12:11 +0000 (16:12 -0700)
commit2d4cb3ed5105b9e281f0e714b15011cae4a4dcbb
treec011207e57f08e9ab903fd8eb91e212f2507a186
parentc995e9eb5acf3976ae8674a0dc6d9e958053d9fd
Fix overriding mixing with default features

Previously Cargo had a bug where if a crate *without* a default feature was
overridden with one that did indeed have a default feature then the default may
not end up getting activated by accident. The fix was to avoid returning too
quickly hen activating dependencies until after we've inspected and learned
about replacements.

Closes #3812
src/cargo/core/resolver/mod.rs
tests/overrides.rs