Parcourir la source

fix the build

the unused macro_use crate lint has tightened; fix the new warnings
Jorge Aparicio il y a 8 ans
Parent
commit
b6f059d627
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -86,7 +86,7 @@ macro_rules! srem {
 }
 
 #[cfg(test)]
-#[macro_use]
+#[cfg_attr(target_arch = "arm", macro_use)]
 extern crate quickcheck;
 
 #[cfg(test)]