]> git.proxmox.com Git - cargo.git/commit
Track dep-info for all dependencies.
authorEric Huss <eric@huss.org>
Mon, 15 Jul 2019 03:20:27 +0000 (20:20 -0700)
committerEric Huss <eric@huss.org>
Thu, 25 Jul 2019 19:10:24 +0000 (12:10 -0700)
commitb1b9b79c0260f19dda3c3c6523bafa8c19a6a5fc
treefa595a88120a95528bff68adac460980eb46badc
parentaa99e9f2517d1c2bff47ea46defa89bf4895f2a3
Track dep-info for all dependencies.

This adds dep-info tracking for non-path dependencies. This avoids tracking
package-relative paths (like source files) in non-path dependencies, since we
assume they are static. It also adds an mtime cache to improve performance since
when rustc starts tracking sysroot files (in the future), it can cause a large
number of stat calls.
src/cargo/core/compiler/context/mod.rs
src/cargo/core/compiler/fingerprint.rs
src/cargo/core/compiler/mod.rs
tests/testsuite/dep_info.rs