File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1355,6 +1355,8 @@ fn test_android(target: &str) {
1355
1355
t => panic ! ( "unsupported target: {}" , t) ,
1356
1356
} ;
1357
1357
let x86 = target. contains ( "i686" ) || target. contains ( "x86_64" ) ;
1358
+ let aarch64 = target. contains ( "aarch64" ) ;
1359
+ let i686 = target. contains ( "i686" ) ;
1358
1360
1359
1361
let mut cfg = ctest_cfg ( ) ;
1360
1362
cfg. define ( "_GNU_SOURCE" , None ) ;
@@ -1564,6 +1566,12 @@ fn test_android(target: &str) {
1564
1566
// test the XSI version below.
1565
1567
"strerror_r" => true ,
1566
1568
1569
+ // FIXME: Somehow we cannot find these fns on aarch64 and i686.
1570
+ // https://github.com/rust-lang/libc/issues/1765
1571
+ "lockf" | "preadv64" | "pwritev64" | "openpty" |
1572
+ "forkpty" | "login_tty" | "getifaddrs" | "freeifaddrs" |
1573
+ "sethostname" | "getgrgid_r" | "getgrnam_r" if aarch64 || i686 => true ,
1574
+
1567
1575
_ => false ,
1568
1576
}
1569
1577
} ) ;
You can’t perform that action at this time.
0 commit comments