Skip to content

Commit 7f6ce32

Browse files
Try to appease CI
1 parent fbcf62b commit 7f6ce32

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

libc-test/build.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2650,6 +2650,9 @@ fn test_linux(target: &str) {
26502650
// FIXME: CI's kernel header version is old.
26512651
"sockaddr_can" => true,
26522652

2653+
// Requires glibc 2.33 or newer.
2654+
"mallinfo2" => true,
2655+
26532656
_ => false,
26542657
}
26552658
});
@@ -2853,6 +2856,9 @@ fn test_linux(target: &str) {
28532856
// FIXME: This needs musl 1.2.2 or later.
28542857
"gettid" if musl => true,
28552858

2859+
// Needs glibc 2.33 or later.
2860+
"mallinfo2" => true,
2861+
28562862
_ => false,
28572863
}
28582864
});

libc-test/semver/linux-gnu.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ glob_t
546546
globfree
547547
globfree64
548548
mallinfo
549+
mallinfo2
549550
malloc_usable_size
550551
mallopt
551552
nl_mmap_hdr

0 commit comments

Comments
 (0)