From b719be41508f18b7abd7b521b7f555773c02d1fe Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Fri, 5 Mar 2021 01:11:36 +0900 Subject: [PATCH] Skip tests for `gettid` on musl It requires musl 1.2.2 or later. --- libc-test/build.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libc-test/build.rs b/libc-test/build.rs index 71b70632829e6..99763e29aa824 100755 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -2737,6 +2737,9 @@ fn test_linux(target: &str) { // assume it's a int instead. "getnameinfo" if uclibc => true, + // FIXME: This needs musl 1.2.2 or later. + "gettid" if musl => true, + _ => false, } });