Skip to content

Commit

Permalink
chore(style): sync submodule exclusion list between tidy and rustfmt
Browse files Browse the repository at this point in the history
As asked in the FIXME comments
  • Loading branch information
ismailarilik committed Nov 2, 2024
1 parent 588a420 commit 4e0d71f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ ignore = [
"/tests/ui-fulldeps/", # Some are whitespace-sensitive (e.g. `// ~ERROR` comments).

# Do not format submodules.
# FIXME: sync submodule list with tidy/bootstrap/etc
# tidy/src/walk.rs:filter_dirs
"library/backtrace",
"library/portable-simd",
"library/stdarch",
Expand All @@ -41,6 +39,7 @@ ignore = [
"src/llvm-project",
"src/tools/cargo",
"src/tools/clippy",
"src/tools/enzyme",
"src/tools/miri",
"src/tools/rust-analyzer",
"src/tools/rustc-perf",
Expand Down
1 change: 0 additions & 1 deletion src/tools/tidy/src/walk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use ignore::DirEntry;

/// The default directory filter.
pub fn filter_dirs(path: &Path) -> bool {
// FIXME: sync submodule exclusion list with rustfmt.toml
// bootstrap/etc
let skip = [
"tidy-test-file",
Expand Down

0 comments on commit 4e0d71f

Please sign in to comment.