Explorar o código

Migrate to new `cfg` attribute syntax`

gifnksm %!s(int64=10) %!d(string=hai) anos
pai
achega
f1d975b6f1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {