about summary refs log tree commit diff
path: root/src/libnative
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/libnative
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/libnative')
-rw-r--r--src/libnative/io/file_unix.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnative/io/file_unix.rs b/src/libnative/io/file_unix.rs
index 3c49e1c40d6..97d48df600e 100644
--- a/src/libnative/io/file_unix.rs
+++ b/src/libnative/io/file_unix.rs
@@ -506,7 +506,7 @@ mod tests {
     use std::os;
     use std::rt::rtio::{RtioFileStream, SeekSet};
 
-    #[ignore(cfg(target_os = "freebsd"))] // hmm, maybe pipes have a tiny buffer
+    #[cfg_attr(target_os = "freebsd", ignore)] // hmm, maybe pipes have a tiny buffer
     #[test]
     fn test_file_desc() {
         // Run this test with some pipes so we don't have to mess around with