Просмотр исходного кода

Migrate to new `cfg` attribute syntax`

gifnksm 10 лет назад
Родитель
Сommit
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) {