From cf90f72f55240686be268e9f6929e9bbec678616 Mon Sep 17 00:00:00 2001 From: Douglas Campos Date: Fri, 19 Oct 2018 19:26:43 +0000 Subject: [PATCH] ignore target folders 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/tidy/src/lib.rs b/src/tools/tidy/src/lib.rs index c4bd0bbd03ca3..c5f5896d286c3 100644 --- a/src/tools/tidy/src/lib.rs +++ b/src/tools/tidy/src/lib.rs @@ -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)) }