Skip to content

Commit 6195924

Browse files
committed
handle symlinks correctly in support/paths.rs
1 parent 32130f8 commit 6195924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testsuite/support/paths.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ impl CargoPathExt for Path {
153153
where
154154
F: Fn(i64, u32) -> ((i64, u32)),
155155
{
156-
let stat = t!(path.metadata());
156+
let stat = t!(path.symlink_metadata());
157157

158158
let mtime = FileTime::from_last_modification_time(&stat);
159159

0 commit comments

Comments
 (0)