summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2021-06-10 15:07:29 +0200
committerJonas Schievink <jonasschievink@gmail.com>2021-06-10 15:15:40 +0200
commit7f6ce32a3120974190d2ff03d84380549f767ced (patch)
tree2c6d529665576e3d56e53756bd92f480974e2f87
parentfbcf62b077f24a5426ddab232dd3cb3a1923a0e4 (diff)
downloadrust-libc-7f6ce32a3120974190d2ff03d84380549f767ced.tar.gz
Try to appease CI
-rwxr-xr-xlibc-test/build.rs6
-rw-r--r--libc-test/semver/linux-gnu.txt1
2 files changed, 7 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 276be49259..0f2eefaf1c 100755
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -2650,6 +2650,9 @@ fn test_linux(target: &str) {
// FIXME: CI's kernel header version is old.
"sockaddr_can" => true,
+ // Requires glibc 2.33 or newer.
+ "mallinfo2" => true,
+
_ => false,
}
});
@@ -2853,6 +2856,9 @@ fn test_linux(target: &str) {
// FIXME: This needs musl 1.2.2 or later.
"gettid" if musl => true,
+ // Needs glibc 2.33 or later.
+ "mallinfo2" => true,
+
_ => false,
}
});
diff --git a/libc-test/semver/linux-gnu.txt b/libc-test/semver/linux-gnu.txt
index 58b2eb6c94..fb3256086c 100644
--- a/libc-test/semver/linux-gnu.txt
+++ b/libc-test/semver/linux-gnu.txt
@@ -546,6 +546,7 @@ glob_t
globfree
globfree64
mallinfo
+mallinfo2
malloc_usable_size
mallopt
nl_mmap_hdr