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