about summary refs log tree commit diff
path: root/src/libtime/lib.rs
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/libtime/lib.rs
parente520bb1b2f1667f17c3503af71273921c4fc9989 (diff)
Deprecate `#[ignore(cfg(...))]`
Replace `#[ignore(cfg(a, b))]` with `#[cfg_attr(all(a, b), ignore)]`
Diffstat (limited to 'src/libtime/lib.rs')
-rw-r--r--src/libtime/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtime/lib.rs b/src/libtime/lib.rs
index abf6fc5f255..9cec71104d4 100644
--- a/src/libtime/lib.rs
+++ b/src/libtime/lib.rs
@@ -1564,7 +1564,7 @@ mod tests {
     }
 
     #[test]
-    #[ignore(cfg(target_os = "android"))] // FIXME #10958
+    #[cfg_attr(target_os = "android", ignore)] // FIXME #10958
     fn run_tests() {
         // The tests race on tzset. So instead of having many independent
         // tests, we will just call the functions now.