File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 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) {
13551355 t => panic ! ( "unsupported target: {}" , t) ,
13561356 } ;
13571357 let x86 = target. contains ( "i686" ) || target. contains ( "x86_64" ) ;
1358+ let aarch64 = target. contains ( "aarch64" ) ;
13581359
13591360 let mut cfg = ctest_cfg ( ) ;
13601361 cfg. define ( "_GNU_SOURCE" , None ) ;
@@ -1564,6 +1565,12 @@ fn test_android(target: &str) {
15641565 // test the XSI version below.
15651566 "strerror_r" => true ,
15661567
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+
15671574 _ => false ,
15681575 }
15691576 } ) ;
You can’t perform that action at this time.
0 commit comments