Skip to content

Commit 285b621

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 c28838f commit 285b621

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
@@ -1100,7 +1100,8 @@ mod decl {
11001100
host_faulthandler::raise_exception(args.code, args.flags);
11011101
}
11021102

1103-
#[cfg(all(test, any(unix, windows)))]
1103+
#[cfg(test)]
1104+
#[cfg(any(unix, windows))]
11041105
mod tests {
11051106
use super::*;
11061107
use std::sync::mpsc;

0 commit comments

Comments
 (0)