Skip to content

Commit 5cdabb8

Browse files
Mark-SimulacrumAmanieu
authored andcommitted
Ignore PAL lint for std::panicking
1 parent f037f79 commit 5cdabb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/tidy/src/pal.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ const EXCEPTION_PATHS: &[&str] = &[
5959
"src/libstd/sys_common/mod.rs",
6060
"src/libstd/sys_common/net.rs",
6161
"src/libstd/sys_common/backtrace.rs",
62+
// panic_unwind shims
63+
"src/libstd/panicking.rs",
6264
"src/libterm", // Not sure how to make this crate portable, but test crate needs it.
6365
"src/libtest", // Probably should defer to unstable `std::sys` APIs.
6466
"src/libstd/sync/mpsc", // some tests are only run on non-emscripten

0 commit comments

Comments
 (0)