--- a/tests/abi.rs
+++ b/tests/abi.rs
@@ -148,6 +148,7 @@
 }
 
 #[test]
+#[cfg(not(any(target_arch = "arm", target_arch = "x86", target_arch = "s390x")))]
 fn cross_validate_layout_with_c() {
     let mut c_layouts = Vec::new();
 
