Skip to content
Snippets Groups Projects
Unverified Commit bd4cf96c authored by Yuki Okushi's avatar Yuki Okushi Committed by GitHub
Browse files

Merge pull request #1769 from JohnTitor/aarch64-android

Re-enable aarch64-linux-android CI
parents 174920c7 1528539b
No related branches found
No related tags found
No related merge requests found
......@@ -34,9 +34,8 @@ jobs:
displayName: Execute run-docker.sh
strategy:
matrix:
# FIXME: Disabled due to https://github.com/rust-lang/libc/issues/1765
# aarch64-unknown-linux-android:
# TARGET: aarch64-linux-android
aarch64-unknown-linux-android:
TARGET: aarch64-linux-android
aarch64-unknown-linux-gnu:
TARGET: aarch64-unknown-linux-gnu
aarch64-unknown-linux-musl:
......
......@@ -1355,6 +1355,7 @@ fn test_android(target: &str) {
t => panic!("unsupported target: {}", t),
};
let x86 = target.contains("i686") || target.contains("x86_64");
let aarch64 = target.contains("aarch64");
let mut cfg = ctest_cfg();
cfg.define("_GNU_SOURCE", None);
......@@ -1564,6 +1565,12 @@ fn test_android(target: &str) {
// test the XSI version below.
"strerror_r" => true,
// FIXME: Somehow we cannot find these fns on aarch64.
// https://github.com/rust-lang/libc/issues/1765
"lockf" | "preadv64" | "pwritev64" | "openpty" |
"forkpty" | "login_tty" | "getifaddrs" | "freeifaddrs" |
"sethostname" | "getgrgid_r" | "getgrnam_r" if aarch64 => true,
_ => false,
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment