Ignore gcc submodule for tidy checks

This commit is contained in:
Guillaume Gomez 2024-05-23 10:53:04 +02:00
parent 30feef626f
commit 71fe248240
3 changed files with 5 additions and 1 deletions

View File

@ -13,5 +13,6 @@ extend-exclude = """(\
src/doc/embedded-book/|\ src/doc/embedded-book/|\
src/tools/rustc-perf/|\ src/tools/rustc-perf/|\
src/tools/enzyme/|\ src/tools/enzyme/|\
library/backtrace/ library/backtrace/|\
src/gcc/
)""" )"""

View File

@ -18,6 +18,7 @@ extend-exclude = [
"library/backtrace/", "library/backtrace/",
"src/tools/enzyme/", "src/tools/enzyme/",
"src/tools/rustc-perf/", "src/tools/rustc-perf/",
"src/gcc/",
# Hack: CI runs from a subdirectory under the main checkout # Hack: CI runs from a subdirectory under the main checkout
"../src/doc/nomicon/", "../src/doc/nomicon/",
"../src/tools/cargo/", "../src/tools/cargo/",
@ -32,6 +33,7 @@ extend-exclude = [
"../library/backtrace/", "../library/backtrace/",
"../src/tools/enzyme/", "../src/tools/enzyme/",
"../src/tools/rustc-perf/", "../src/tools/rustc-perf/",
"../src/gcc/",
] ]
[lint] [lint]

View File

@ -32,6 +32,7 @@ pub fn filter_dirs(path: &Path) -> bool {
"src/doc/rust-by-example", "src/doc/rust-by-example",
"src/doc/rustc-dev-guide", "src/doc/rustc-dev-guide",
"src/doc/reference", "src/doc/reference",
"src/gcc",
// Filter RLS output directories // Filter RLS output directories
"target/rls", "target/rls",
"src/bootstrap/target", "src/bootstrap/target",