]> git.proxmox.com Git - cargo.git/commit
Fix resolve error with cyclic dev-dependency features.
authorEric Huss <eric@huss.org>
Sat, 20 Nov 2021 02:10:10 +0000 (18:10 -0800)
committerEric Huss <eric@huss.org>
Sat, 20 Nov 2021 02:10:10 +0000 (18:10 -0800)
commit2eee644c68010d1c84d1c945c428868ea8097acb
tree4c906c2df2ef6819c87bcefdded99072797984c7
parentd7ab4a6598dd07c2d8455f04406281e5eee43ac2
Fix resolve error with cyclic dev-dependency features.

There is a convoluted situation where a cyclic dev-dependency attempts
to enable a feature on its parent. It would result in a confusing error
saying a package didn't have a feature.

This check was intended only for CLI features, not features passed
through the dependency graph.
src/cargo/core/resolver/dep_cache.rs
tests/testsuite/tree.rs