We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38f0b90 commit d619e44Copy full SHA for d619e44
src/tools/tidy/src/bins.rs
@@ -35,7 +35,7 @@ pub fn check(path: &Path, bad: &mut bool) {
35
return;
36
}
37
38
- let metadata = t!(fs::symlink_metadata(&file), &file);
+ let metadata = t!(entry.metadata(), file);
39
if metadata.mode() & 0o111 != 0 {
40
let rel_path = file.strip_prefix(path).unwrap();
41
let git_friendly_path = rel_path.to_str().unwrap().replace("\\", "/");
0 commit comments