Skip to content

Commit 5150baf

Browse files
committed
Ignore fns that have suddenly disappeared on Android CI
1 parent 8673a7e commit 5150baf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

libc-test/build.rs

+8
Original file line numberDiff line numberDiff line change
@@ -1355,6 +1355,8 @@ 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");
1359+
let i686 = target.contains("i686");
13581360

13591361
let mut cfg = ctest_cfg();
13601362
cfg.define("_GNU_SOURCE", None);
@@ -1564,6 +1566,12 @@ fn test_android(target: &str) {
15641566
// test the XSI version below.
15651567
"strerror_r" => true,
15661568

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+
15671575
_ => false,
15681576
}
15691577
});

0 commit comments

Comments
 (0)