Skip to content

Commit 9bddac4

Browse files
Ignore some android constants not found in tests
1 parent 6e7483e commit 9bddac4

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

libc-test/build.rs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,6 +1907,34 @@ fn test_android(target: &str) {
19071907
// FIXME: The value has been changed on r26b:
19081908
| "SYS_syscalls" if aarch64 => true,
19091909

1910+
// From `<include/linux/sched.h>`.
1911+
| "PF_VCPU"
1912+
| "PF_IDLE"
1913+
| "PF_EXITING"
1914+
| "PF_POSTCOREDUMP"
1915+
| "PF_IO_WORKER"
1916+
| "PF_WQ_WORKER"
1917+
| "PF_FORKNOEXEC"
1918+
| "PF_SUPERPRIV"
1919+
| "PF_DUMPCORE"
1920+
| "PF_MCE_PROCESS"
1921+
| "PF_SIGNALED"
1922+
| "PF_MEMALLOC"
1923+
| "PF_NPROC_EXCEEDED"
1924+
| "PF_USED_MATH"
1925+
| "PF_USER_WORKER"
1926+
| "PF_NOFREEZE"
1927+
| "PF_KSWAPD"
1928+
| "PF_MEMALLOC_NOFS"
1929+
| "PF_MEMALLOC_NOIO"
1930+
| "PF_LOCAL_THROTTLE"
1931+
| "PF_KTHREAD"
1932+
| "PF_RANDOMIZE"
1933+
| "PF_NO_SETAFFINITY"
1934+
| "PF_MCE_EARLY"
1935+
| "PF_MEMALLOC_PIN"
1936+
| "PF_SUSPEND_TASK" => true,
1937+
19101938
_ => false,
19111939
}
19121940
});

0 commit comments

Comments
 (0)