Skip to content

Commit fe3ba33

Browse files
committed
Mark watchdog regression module explicitly as test-only
Keep the native-platform guard separate so the tests_outside_test_module Clippy lint recognizes the cfg(test) module. Assisted-by: OpenAI Codex:model version not exposed
1 parent cc26cae commit fe3ba33

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎crates/stdlib/src/faulthandler.rs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,8 @@ mod decl {
10711071
host_faulthandler::raise_exception(args.code, args.flags);
10721072
}
10731073

1074-
#[cfg(all(test, any(unix, windows)))]
1074+
#[cfg(test)]
1075+
#[cfg(any(unix, windows))]
10751076
mod tests {
10761077
use super::*;
10771078
use std::sync::mpsc;

0 commit comments

Comments
 (0)