]> git.lizzy.rs Git - rust.git/commitdiff
ignore target folders
authorDouglas Campos <qmx@qmx.me>
Fri, 19 Oct 2018 19:26:43 +0000 (19:26 +0000)
committerDouglas Campos <qmx@qmx.me>
Fri, 19 Oct 2018 19:26:43 +0000 (19:26 +0000)
when you try to edit a crate inside the compiler tree using rls, it
generates it's assets under target/rls, then tidy is trying to validate
line lenghts for C headers, etc

src/tools/tidy/src/lib.rs

index c4bd0bbd03ca3b195168b3fd1d7daba4860ff359..c5f5896d286c32480689b704ec9e27274b1121e5 100644 (file)
@@ -78,6 +78,7 @@ fn filter_dirs(path: &Path) -> bool {
         "src/tools/lldb",
         "src/target",
         "src/stdsimd",
+        "target",
     ];
     skip.iter().any(|p| path.ends_with(p))
 }