rust-installer and rls no longer submodule, so fix tidy walk list

This commit is contained in:
klensy 2023-06-23 10:50:10 +03:00
parent f3d9248c22
commit d9f77c74fd

View File

@ -4,6 +4,8 @@
/// The default directory filter. /// The default directory filter.
pub fn filter_dirs(path: &Path) -> bool { pub fn filter_dirs(path: &Path) -> bool {
// FIXME: sync submodule exclusion list with rustfmt.toml
// bootstrap/etc
let skip = [ let skip = [
"tidy-test-file", "tidy-test-file",
"compiler/rustc_codegen_cranelift", "compiler/rustc_codegen_cranelift",
@ -15,9 +17,7 @@ pub fn filter_dirs(path: &Path) -> bool {
"src/tools/cargo", "src/tools/cargo",
"src/tools/clippy", "src/tools/clippy",
"src/tools/miri", "src/tools/miri",
"src/tools/rls",
"src/tools/rust-analyzer", "src/tools/rust-analyzer",
"src/tools/rust-installer",
"src/tools/rustfmt", "src/tools/rustfmt",
"src/doc/book", "src/doc/book",
"src/doc/edition-guide", "src/doc/edition-guide",