Skip to content

Commit f66dcf1

Browse files
committed
Check glibc version when ignoring fields
1 parent 644a916 commit f66dcf1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

libc-test/build.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5128,7 +5128,6 @@ fn test_linux(target: &str) {
51285128
{
51295129
true
51305130
}
5131-
// Requires glibc >= 2.43.
51325131
(
51335132
"statx",
51345133
"stx_subvol"
@@ -5139,7 +5138,7 @@ fn test_linux(target: &str) {
51395138
| "stx_atomic_write_unit_max_opt"
51405139
| "__statx_pad2"
51415140
| "__statx_pad3",
5142-
) => true,
5141+
) if gnu && versions.glibc.unwrap() < (2, 43) => true,
51435142
_ => false,
51445143
}
51455144
});

0 commit comments

Comments
 (0)