Skip to content

Commit 21689af

Browse files
committed
fixes for musl
1 parent 66d3c71 commit 21689af

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

libc-test/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4257,6 +4257,7 @@ fn test_linux(target: &str) {
42574257

42584258
// Recent additions
42594259
"ptp_sys_offset_extended" if kernel < (6, 12) => true,
4260+
"epoll_params" if old_musl => true,
42604261
"epoll_params" => kernel < (6, 9),
42614262
"mnt_ns_info" => kernel < (6, 12),
42624263

@@ -4772,6 +4773,7 @@ fn test_linux(target: &str) {
47724773
| "PF_RANDOMIZE" | "PF_NO_SETAFFINITY" | "PF_MCE_EARLY" | "PF_MEMALLOC_PIN"
47734774
| "PF_BLOCK_TS" | "PF_SUSPEND_TASK" => true,
47744775

4776+
"EPIOCSPARAMS" | "EPIOCGPARAMS" if old_musl => true,
47754777
"EPIOCSPARAMS" | "EPIOCGPARAMS" => kernel < (6, 9),
47764778
"MAP_DROPPABLE" => kernel < (6, 11),
47774779
"SOF_TIMESTAMPING_OPT_RX_FILTER" => kernel < (6, 12),
@@ -4789,6 +4791,7 @@ fn test_linux(target: &str) {
47894791
"SECURE_ALL_BITS" | "SECURE_ALL_LOCKS" => kernel < (6, 14),
47904792

47914793
// Recent additions
4794+
"AT_HWCAP3" | "AT_HWCAP4" if old_musl => true,
47924795
"AT_HWCAP3" | "AT_HWCAP4" => kernel < (6, 9),
47934796
"PTRACE_SET_SYSCALL_INFO" => kernel < (6, 16),
47944797

0 commit comments

Comments
 (0)