Skip to content

Commit 6acbcee

Browse files
committed
tidy: Skip pal and #[test] checks in compiler-builtins
1 parent 8c15014 commit 6acbcee

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/tools/tidy/src/pal.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ use crate::walk::{filter_dirs, walk};
3636

3737
// Paths that may contain platform-specific code.
3838
const EXCEPTION_PATHS: &[&str] = &[
39+
"library/compiler-builtins",
3940
"library/windows_targets",
4041
"library/panic_abort",
4142
"library/panic_unwind",

src/tools/tidy/src/walk.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ pub fn filter_dirs(path: &Path) -> bool {
1414
"compiler/rustc_codegen_gcc",
1515
"src/llvm-project",
1616
"library/backtrace",
17+
"library/compiler-builtins",
1718
"library/portable-simd",
1819
"library/stdarch",
1920
"src/tools/cargo",

0 commit comments

Comments
 (0)