about summary refs log tree commit diff
path: root/library/std/tests/sync/mutex.rs
diff options
context:
space:
mode:
authorConnor Tsui <connor.tsui20@gmail.com>2025-09-11 11:29:19 -0400
committerConnor Tsui <connor.tsui20@gmail.com>2025-09-11 12:35:26 -0400
commit18d0dcbc8e61a0c9f7ffead9245b273fd26467a5 (patch)
tree0e2b9073dbb8e70819b3269214fa8fc30a147a8a /library/std/tests/sync/mutex.rs
parent5e33838ccad070f1536ed82336dd0133e2681233 (diff)
downloadrust-18d0dcbc8e61a0c9f7ffead9245b273fd26467a5.tar.gz
rust-18d0dcbc8e61a0c9f7ffead9245b273fd26467a5.zip
fix config for poison macro test
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Diffstat (limited to 'library/std/tests/sync/mutex.rs')
-rw-r--r--library/std/tests/sync/mutex.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/tests/sync/mutex.rs b/library/std/tests/sync/mutex.rs
index 612c75c7aef..2445764001b 100644
--- a/library/std/tests/sync/mutex.rs
+++ b/library/std/tests/sync/mutex.rs
@@ -266,7 +266,7 @@ nonpoison_and_poison_unwrap_test!(
     }
 );
 
-#[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
+#[cfg(panic = "unwind")] // Requires unwinding support.
 nonpoison_and_poison_unwrap_test!(
     name: test_panics,
     test_body: {
@@ -297,7 +297,7 @@ nonpoison_and_poison_unwrap_test!(
     }
 );
 
-#[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
+#[cfg(panic = "unwind")] // Requires unwinding support.
 nonpoison_and_poison_unwrap_test!(
     name: test_mutex_arc_access_in_unwind,
     test_body: {