Skip to content

Commit 644a916

Browse files
committed
Ignore statx fields not in glibc < 2.43
1 parent c7972f2 commit 644a916

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
@@ -5128,6 +5128,18 @@ fn test_linux(target: &str) {
51285128
{
51295129
true
51305130
}
5131+
// Requires glibc >= 2.43.
5132+
(
5133+
"statx",
5134+
"stx_subvol"
5135+
| "stx_atomic_write_unit_min"
5136+
| "stx_atomic_write_unit_max"
5137+
| "stx_atomic_write_segments_max"
5138+
| "stx_dio_read_offset_align"
5139+
| "stx_atomic_write_unit_max_opt"
5140+
| "__statx_pad2"
5141+
| "__statx_pad3",
5142+
) => true,
51315143
_ => false,
51325144
}
51335145
});

0 commit comments

Comments
 (0)