From d5d370016f3e050c02ff577763d1447e4d9616bb Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 14 Jan 2024 15:23:08 +0100 Subject: [PATCH] Ignore some android constants not found in tests --- libc-test/build.rs | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/libc-test/build.rs b/libc-test/build.rs index 1b65d65f95ec9..841c7cfe66335 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -1912,6 +1912,34 @@ fn test_android(target: &str) { // FIXME: The value has been changed on r26b: | "SYS_syscalls" if aarch64 => true, + // From ``. + | "PF_VCPU" + | "PF_IDLE" + | "PF_EXITING" + | "PF_POSTCOREDUMP" + | "PF_IO_WORKER" + | "PF_WQ_WORKER" + | "PF_FORKNOEXEC" + | "PF_SUPERPRIV" + | "PF_DUMPCORE" + | "PF_MCE_PROCESS" + | "PF_SIGNALED" + | "PF_MEMALLOC" + | "PF_NPROC_EXCEEDED" + | "PF_USED_MATH" + | "PF_USER_WORKER" + | "PF_NOFREEZE" + | "PF_KSWAPD" + | "PF_MEMALLOC_NOFS" + | "PF_MEMALLOC_NOIO" + | "PF_LOCAL_THROTTLE" + | "PF_KTHREAD" + | "PF_RANDOMIZE" + | "PF_NO_SETAFFINITY" + | "PF_MCE_EARLY" + | "PF_MEMALLOC_PIN" + | "PF_SUSPEND_TASK" => true, + _ => false, } });