Skip to content

Commit 5b7def1

Browse files
committed
Unignore aarch64-linux-android
1 parent 77d4cda commit 5b7def1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/bors.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,7 @@ jobs:
125125
max-parallel: 12
126126
matrix:
127127
target: [
128-
# FIXME: Mysterious failures in CI, see
129-
# https://github.com/rust-lang/libc/issues/2081
130-
# aarch64-linux-android,
128+
aarch64-linux-android,
131129
aarch64-unknown-linux-gnu,
132130
aarch64-unknown-linux-musl,
133131
arm-linux-androideabi,

libc-test/build.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,6 +1544,7 @@ fn test_android(target: &str) {
15441544
t => panic!("unsupported target: {}", t),
15451545
};
15461546
let x86 = target.contains("i686") || target.contains("x86_64");
1547+
let aarch64 = target.contains("aarch64");
15471548

15481549
let mut cfg = ctest_cfg();
15491550
cfg.define("_GNU_SOURCE", None);
@@ -1879,6 +1880,10 @@ fn test_android(target: &str) {
18791880
| "SW_MAX"
18801881
| "SW_CNT" => true,
18811882

1883+
// FIXME: aarch64 env cannot find it:
1884+
| "PTRACE_GETREGS"
1885+
| "PTRACE_SETREGS" if aarch64 => true,
1886+
18821887
_ => false,
18831888
}
18841889
});

0 commit comments

Comments
 (0)