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/libnative/io/file_unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libnative') 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 -- cgit 1.4.1-3-g733a5