diff options
author | Jonah Petri <jonah@petri.us> | 2021-09-16 10:52:14 -0400 |
---|---|---|
committer | Jonah Petri <jonah@petri.us> | 2021-09-17 09:51:15 -0400 |
commit | 4490988a4fbfdf55a2e86b15c0393239fef395b1 (patch) | |
tree | 9e2ccb3ccbd3a2555ca909c74103c069770410ae | |
parent | 7c89dd236c406302c252f0f1d5f19947dbafa177 (diff) | |
download | rust-libc-4490988a4fbfdf55a2e86b15c0393239fef395b1.tar.gz |
uclibc: skip some items not included in uclibc
-rw-r--r-- | libc-test/build.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs index f568affc7d..8338eec259 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -2846,6 +2846,21 @@ fn test_linux(target: &str) { | "SW_CNT" if mips || ppc64 || riscv64 || sparc64 => true, + // kernel constants not available in uclibc 1.0.34 + | "IPPROTO_BEETPH" + | "IPPROTO_MPLS" + | "PTRACE_O_SUSPEND_SECCOMP" + | "IPV6_HDRINCL" + | "IPV6_PMTUDISC_INTERFACE" + | "IPV6_PMTUDISC_OMIT" + | "CLONE_NEWCGROUP" + | "ADDR_NO_RANDOMIZE" + | "ADDR_COMPAT_LAYOUT" + | "READ_IMPLIES_EXEC" + | "ADDR_LIMIT_3GB" + | "PTRACE_O_EXITKILL" + | "PTRACE_O_SUSPEND_SECCOM" if uclibc => true, + _ => false, } }); @@ -2923,6 +2938,9 @@ fn test_linux(target: &str) { "reallocarray" if musl => true, + // Not defined in uclibc as of 1.0.34 + "gettid" if uclibc => true, + _ => false, } }); |