We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8bc265b + 5541fdf commit f546201Copy full SHA for f546201
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::metadata(&file), &file);
+ let metadata = t!(fs::symlink_metadata(&file), &file);
39
if metadata.mode() & 0o111 != 0 {
40
println!("binary checked into source: {}", file.display());
41
*bad = true;
0 commit comments