We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db6283b commit e44d38eCopy full SHA for e44d38e
tests/run-pass/sync.rs
@@ -8,8 +8,7 @@ fn main() {
8
drop(m.lock());
9
drop(m);
10
11
- // We don't provide RwLock on Windows
12
- #[cfg(not(target_os = "windows"))]
+ #[cfg(not(target_os = "windows"))] // TODO: implement RwLock on Windows
13
{
14
let rw = sync::RwLock::new(0);
15
drop(rw.read());
0 commit comments