@@ -400,7 +400,8 @@ fn test_apple(target: &str) {
400
400
// FIXME: the array size has been changed since macOS 10.15 ([8] -> [7]).
401
401
( "statfs" , "f_reserved" ) => true ,
402
402
( "__darwin_arm_neon_state64" , "__v" ) => true ,
403
-
403
+ // MAXPATHLEN is too big for auto-derive traits on arrays.
404
+ ( "vnode_info_path" , "vip_path" ) => true ,
404
405
( "ifreq" , "ifr_ifru" ) => true ,
405
406
( "in6_ifreq" , "ifr_ifru" ) => true ,
406
407
( "ifkpi" , "ifk_data" ) => true ,
@@ -2763,6 +2764,8 @@ fn test_freebsd(target: &str) {
2763
2764
( "umutex" , "m_owner" ) => true ,
2764
2765
// c_has_waiters field is a volatile int32_t
2765
2766
( "ucond" , "c_has_waiters" ) => true ,
2767
+ // is PATH_MAX long but tests can't accept multi array as equivalent.
2768
+ ( "kinfo_vmentry" , "kve_path" ) => true ,
2766
2769
2767
2770
// a_un field is a union
2768
2771
( "Elf32_Auxinfo" , "a_un" ) => true ,
@@ -2791,6 +2794,10 @@ fn test_freebsd(target: &str) {
2791
2794
// Anonymous type.
2792
2795
( "filestat" , "next" ) => true ,
2793
2796
2797
+ // We ignore this field because we needed to use a hack in order to make rust 1.19
2798
+ // happy...
2799
+ ( "kinfo_proc" , "ki_sparestrings" ) => true ,
2800
+
2794
2801
// `__sem_base` is a private struct field
2795
2802
( "semid_ds" , "__sem_base" ) => true ,
2796
2803
0 commit comments