Skip to content

Commit 3bdfb3a

Browse files
committed
add nonpoison and poison rwlock tests
Adds tests for the `nonpoison::RwLock` variant by using a macro to duplicate the existing `poison` tests. Note that all of the tests here are adapted from the existing `poison` tests.
1 parent 19d18a7 commit 3bdfb3a

File tree

2 files changed

+381
-280
lines changed

2 files changed

+381
-280
lines changed

library/std/tests/sync/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#![feature(std_internals)]
99
#![feature(sync_nonpoison)]
1010
#![feature(nonpoison_mutex)]
11+
#![feature(nonpoison_rwlock)]
1112
#![allow(internal_features)]
1213
#![feature(macro_metavar_expr_concat)] // For concatenating identifiers in macros.
1314

0 commit comments

Comments
 (0)