We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 048b00d + e44d38e commit aeb658eCopy full SHA for aeb658e
tests/run-pass/threads.rs renamed to 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