@@ -17,7 +17,7 @@ nonpoison_and_poison_unwrap_test!(
1717 }
1818) ;
1919
20- #[ cfg_attr ( any( target_os = "emscripten" , target_os = "wasi" ) , ignore ) ] // no threads
20+ #[ cfg ( not ( any( target_os = "emscripten" , target_os = "wasi" ) ) ) ] // No threads.
2121nonpoison_and_poison_unwrap_test ! (
2222 name: notify_one,
2323 test_body: {
@@ -38,7 +38,7 @@ nonpoison_and_poison_unwrap_test!(
3838 }
3939) ;
4040
41- #[ cfg_attr ( any( target_os = "emscripten" , target_os = "wasi" ) , ignore ) ] // no threads
41+ #[ cfg ( not ( any( target_os = "emscripten" , target_os = "wasi" ) ) ) ] // No threads.
4242nonpoison_and_poison_unwrap_test ! (
4343 name: notify_all,
4444 test_body: {
@@ -79,7 +79,7 @@ nonpoison_and_poison_unwrap_test!(
7979 }
8080) ;
8181
82- #[ cfg_attr ( any( target_os = "emscripten" , target_os = "wasi" ) , ignore ) ] // no threads
82+ #[ cfg ( not ( any( target_os = "emscripten" , target_os = "wasi" ) ) ) ] // No threads.
8383nonpoison_and_poison_unwrap_test ! (
8484 name: test_mutex_arc_condvar,
8585 test_body: {
@@ -116,7 +116,7 @@ nonpoison_and_poison_unwrap_test!(
116116 }
117117) ;
118118
119- #[ cfg_attr ( any( target_os = "emscripten" , target_os = "wasi" ) , ignore ) ] // no threads
119+ #[ cfg ( not ( any( target_os = "emscripten" , target_os = "wasi" ) ) ) ] // No threads.
120120nonpoison_and_poison_unwrap_test ! (
121121 name: wait_while,
122122 test_body: {
@@ -141,7 +141,7 @@ nonpoison_and_poison_unwrap_test!(
141141 }
142142) ;
143143
144- #[ cfg_attr ( any( target_os = "emscripten" , target_os = "wasi" ) , ignore ) ] // no threads
144+ #[ cfg ( not ( any( target_os = "emscripten" , target_os = "wasi" ) ) ) ] // No threads.
145145nonpoison_and_poison_unwrap_test ! (
146146 name: wait_timeout_wait,
147147 test_body: {
@@ -164,7 +164,7 @@ nonpoison_and_poison_unwrap_test!(
164164 }
165165) ;
166166
167- #[ cfg_attr ( any( target_os = "emscripten" , target_os = "wasi" ) , ignore ) ] // no threads
167+ #[ cfg ( not ( any( target_os = "emscripten" , target_os = "wasi" ) ) ) ] // No threads.
168168nonpoison_and_poison_unwrap_test ! (
169169 name: wait_timeout_while_wait,
170170 test_body: {
@@ -180,7 +180,7 @@ nonpoison_and_poison_unwrap_test!(
180180 }
181181) ;
182182
183- #[ cfg_attr ( any( target_os = "emscripten" , target_os = "wasi" ) , ignore ) ] // no threads
183+ #[ cfg ( not ( any( target_os = "emscripten" , target_os = "wasi" ) ) ) ] // No threads.
184184nonpoison_and_poison_unwrap_test ! (
185185 name: wait_timeout_while_instant_satisfy,
186186 test_body: {
@@ -197,7 +197,7 @@ nonpoison_and_poison_unwrap_test!(
197197 }
198198) ;
199199
200- #[ cfg_attr ( any( target_os = "emscripten" , target_os = "wasi" ) , ignore ) ] // no threads
200+ #[ cfg ( not ( any( target_os = "emscripten" , target_os = "wasi" ) ) ) ] // No threads.
201201nonpoison_and_poison_unwrap_test ! (
202202 name: wait_timeout_while_wake,
203203 test_body: {
@@ -226,7 +226,7 @@ nonpoison_and_poison_unwrap_test!(
226226 }
227227) ;
228228
229- #[ cfg_attr ( any( target_os = "emscripten" , target_os = "wasi" ) , ignore ) ] // no threads
229+ #[ cfg ( not ( any( target_os = "emscripten" , target_os = "wasi" ) ) ) ] // No threads.
230230nonpoison_and_poison_unwrap_test ! (
231231 name: wait_timeout_wake,
232232 test_body: {
0 commit comments