فهرست منبع

Migrate to new `cfg` attribute syntax`

gifnksm 10 سال پیش
والد
کامیت
f1d975b6f1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/complex.rs

+ 1 - 1
src/complex.rs

@@ -219,7 +219,7 @@ mod test {
     }
 
     #[test]
-    #[ignore(cfg(target_arch = "x86"))]
+    #[cfg_attr(target_arch = "x86", ignore)]
     // FIXME #7158: (maybe?) currently failing on x86.
     fn test_norm() {
         fn test(c: Complex64, ns: f64) {