From 65cca7c8b14e9c5673af4921a57c2ccbac3fc2cb Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sun, 3 Aug 2014 17:41:58 -0700 Subject: Deprecate `#[ignore(cfg(...))]` Replace `#[ignore(cfg(a, b))]` with `#[cfg_attr(all(a, b), ignore)]` --- src/libsync/deque.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsync') 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; -- cgit 1.4.1-3-g733a5