about summary refs log tree commit diff
path: root/src/libsync
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2014-08-03 17:41:58 -0700
committerSteven Fackler <sfackler@gmail.com>2014-09-23 23:49:20 -0700
commit65cca7c8b14e9c5673af4921a57c2ccbac3fc2cb (patch)
tree2a693f86b51ea3725368b408efcc25d83041b9bd /src/libsync
parente520bb1b2f1667f17c3503af71273921c4fc9989 (diff)
downloadrust-65cca7c8b14e9c5673af4921a57c2ccbac3fc2cb.tar.gz
rust-65cca7c8b14e9c5673af4921a57c2ccbac3fc2cb.zip
Deprecate `#[ignore(cfg(...))]`
Replace `#[ignore(cfg(a, b))]` with `#[cfg_attr(all(a, b), ignore)]`
Diffstat (limited to 'src/libsync')
-rw-r--r--src/libsync/deque.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsync/deque.rs b/src/libsync/deque.rs
index 6204b54fba4..15c0c14b28a 100644
--- a/src/libsync/deque.rs
+++ b/src/libsync/deque.rs
@@ -600,7 +600,7 @@ mod tests {
     }
 
     #[test]
-    #[ignore(cfg(windows))] // apparently windows scheduling is weird?
+    #[cfg_attr(windows, ignore)] // apparently windows scheduling is weird?
     fn no_starvation() {
         static AMT: int = 10000;
         static NTHREADS: int = 4;