]> git.proxmox.com Git - cargo.git/commit
Avoid visiting deps too often in resolve
authorAlex Crichton <alex@alexcrichton.com>
Fri, 17 Oct 2014 19:23:10 +0000 (12:23 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 22 Oct 2014 18:29:52 +0000 (11:29 -0700)
commit7db89eded7453e9b8814ebe4b03b1d7bcf09d1b9
tree64dd4e1f12e3a1f1eb1dce413f80e54ae178b232
parent82e469ef221e5a5f57bbe99d750e9c1f41f931f3
Avoid visiting deps too often in resolve

If we're activating an already-active version of a dependency, then there's no
need to actually recurse into it. Instead, we can skip it if we're not enabling
any extra features in it to avoid extraneous recursion.
src/cargo/core/resolver/mod.rs
tests/resolve.rs
tests/test_cargo_compile.rs