]> git.proxmox.com Git - cargo.git/commit
auto merge of #139 : tomjakubowski/cargo/fix-symlink-blowup, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 8 Jul 2014 01:46:02 +0000 (01:46 +0000)
committerbors <bors@rust-lang.org>
Tue, 8 Jul 2014 01:46:02 +0000 (01:46 +0000)
commit6248ebe5b2e789ad00d19db86c2b4df8c8e49655
treea206af21ee7798507d5475b972d1047d5d2ce483
parentd0ac39d40b214bf669530b7e423d3a2139e8bdfd
parent94ba70881d6b330a9ee7d0d5b8cabcb0f5d93dd2
auto merge of #139 : tomjakubowski/cargo/fix-symlink-blowup, r=alexcrichton

Fingerprinting will fail at an `fs::stat()` call if there is a symlink in
a package's directory pointing to a non-existent file or directory.
This commit recovers from an `fs::stat(`) error on these bogus symlinks by
faking an mtime of 0, which should not affect the overall fingerprint.

Fix #135
tests/test_cargo_compile.rs