Deprecate #[ignore(cfg(...))]

Replace `#[ignore(cfg(a, b))]` with `#[cfg_attr(all(a, b), ignore)]`
This commit is contained in:
Steven Fackler 2014-08-03 17:41:58 -07:00
parent e520bb1b2f
commit 65cca7c8b1
17 changed files with 28 additions and 20 deletions

View file

@ -766,7 +766,7 @@ mod tests {
assert_eq!((-0f32).frexp(), (-0f32, 0));
}
#[test] #[ignore(cfg(windows))] // FIXME #8755
#[test] #[cfg_attr(windows, ignore)] // FIXME #8755
fn test_frexp_nowin() {
let inf: f32 = Float::infinity();
let neg_inf: f32 = Float::neg_infinity();

View file

@ -768,7 +768,7 @@ mod tests {
assert_eq!((-0f64).frexp(), (-0f64, 0));
}
#[test] #[ignore(cfg(windows))] // FIXME #8755
#[test] #[cfg_attr(windows, ignore)] // FIXME #8755
fn test_frexp_nowin() {
let inf: f64 = Float::infinity();
let neg_inf: f64 = Float::neg_infinity();