mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 14:23:45 +00:00
chore(style): sync submodule exclusion list between tidy and rustfmt
As asked in the FIXME comments
This commit is contained in:
parent
588a420350
commit
4e0d71f3f6
@ -26,8 +26,6 @@ ignore = [
|
|||||||
"/tests/ui-fulldeps/", # Some are whitespace-sensitive (e.g. `// ~ERROR` comments).
|
"/tests/ui-fulldeps/", # Some are whitespace-sensitive (e.g. `// ~ERROR` comments).
|
||||||
|
|
||||||
# Do not format submodules.
|
# Do not format submodules.
|
||||||
# FIXME: sync submodule list with tidy/bootstrap/etc
|
|
||||||
# tidy/src/walk.rs:filter_dirs
|
|
||||||
"library/backtrace",
|
"library/backtrace",
|
||||||
"library/portable-simd",
|
"library/portable-simd",
|
||||||
"library/stdarch",
|
"library/stdarch",
|
||||||
@ -41,6 +39,7 @@ ignore = [
|
|||||||
"src/llvm-project",
|
"src/llvm-project",
|
||||||
"src/tools/cargo",
|
"src/tools/cargo",
|
||||||
"src/tools/clippy",
|
"src/tools/clippy",
|
||||||
|
"src/tools/enzyme",
|
||||||
"src/tools/miri",
|
"src/tools/miri",
|
||||||
"src/tools/rust-analyzer",
|
"src/tools/rust-analyzer",
|
||||||
"src/tools/rustc-perf",
|
"src/tools/rustc-perf",
|
||||||
|
@ -7,7 +7,6 @@ use ignore::DirEntry;
|
|||||||
|
|
||||||
/// 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
|
// bootstrap/etc
|
||||||
let skip = [
|
let skip = [
|
||||||
"tidy-test-file",
|
"tidy-test-file",
|
||||||
|
Loading…
Reference in New Issue
Block a user