Skip to content

Commit 4173307

Browse files
committed
Ignore statx fields not in glibc < 2.43
1 parent 7e09d3c commit 4173307

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

libc-test/build.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4691,6 +4691,18 @@ fn test_linux(target: &str) {
46914691
{
46924692
true
46934693
}
4694+
// Requires glibc >= 2.43.
4695+
(
4696+
"statx",
4697+
"stx_subvol"
4698+
| "stx_atomic_write_unit_min"
4699+
| "stx_atomic_write_unit_max"
4700+
| "stx_atomic_write_segments_max"
4701+
| "stx_dio_read_offset_align"
4702+
| "stx_atomic_write_unit_max_opt"
4703+
| "__statx_pad2"
4704+
| "__statx_pad3",
4705+
) => true,
46944706
_ => false,
46954707
}
46964708
});

0 commit comments

Comments
 (0)