about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-05-18 16:21:33 +0000
committerTrevor Gross <tmgross@umich.edu>2025-05-28 15:15:37 +0000
commit6acbcee97ec4542c0b66c5cf460b8a4358647b4a (patch)
tree82a4d9210168fc30e7dfece5ac02bc469b5dde14
parent8c150144fd6d2fd5944021c1fb566a2e7b0ee889 (diff)
downloadrust-6acbcee97ec4542c0b66c5cf460b8a4358647b4a.tar.gz
rust-6acbcee97ec4542c0b66c5cf460b8a4358647b4a.zip
tidy: Skip pal and `#[test]` checks in compiler-builtins
-rw-r--r--src/tools/tidy/src/pal.rs1
-rw-r--r--src/tools/tidy/src/walk.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/tidy/src/pal.rs b/src/tools/tidy/src/pal.rs
index c708ff7150c..9b915e0f737 100644
--- a/src/tools/tidy/src/pal.rs
+++ b/src/tools/tidy/src/pal.rs
@@ -36,6 +36,7 @@ use crate::walk::{filter_dirs, walk};
 
 // Paths that may contain platform-specific code.
 const EXCEPTION_PATHS: &[&str] = &[
+    "library/compiler-builtins",
     "library/windows_targets",
     "library/panic_abort",
     "library/panic_unwind",
diff --git a/src/tools/tidy/src/walk.rs b/src/tools/tidy/src/walk.rs
index 08ee5c16c12..c2c9eb8d250 100644
--- a/src/tools/tidy/src/walk.rs
+++ b/src/tools/tidy/src/walk.rs
@@ -14,6 +14,7 @@ pub fn filter_dirs(path: &Path) -> bool {
         "compiler/rustc_codegen_gcc",
         "src/llvm-project",
         "library/backtrace",
+        "library/compiler-builtins",
         "library/portable-simd",
         "library/stdarch",
         "src/tools/cargo",