]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/tidy/src/main.rs
Lint against executable files in the root directory
[rust.git] / src / tools / tidy / src / main.rs
index d555f7c8e34fffbaefb5158ddc5e2b815bf77ea3..aa8d8b4f64d7d0ee3a4e4f5f524480809e8af69b 100644 (file)
@@ -78,13 +78,8 @@ macro_rules! check {
         check!(unit_tests, &compiler_path);
         check!(unit_tests, &library_path);
 
-        if bins::check_filesystem_support(
-            &[&src_path, &compiler_path, &library_path],
-            &output_directory,
-        ) {
-            check!(bins, &src_path);
-            check!(bins, &compiler_path);
-            check!(bins, &library_path);
+        if bins::check_filesystem_support(&[&root_path], &output_directory) {
+            check!(bins, &root_path);
         }
 
         check!(style, &src_path);