Skip to content

Commit ca18daa

Browse files
committed
musl: time64: set link names for symbols
This corresponds to upstream commit bminor/musl@1febd21 (most symbols) and bminor/musl@22daaea (only dlsym)
1 parent f0f109b commit ca18daa

File tree

6 files changed

+67
-34
lines changed

6 files changed

+67
-34
lines changed

src/new/common/posix/pthread.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ extern "C" {
205205

206206
#[cfg(any(target_os = "android", target_os = "l4re", target_os = "linux"))]
207207
#[cfg_attr(gnu_time_bits64, link_name = "__pthread_mutex_timedlock64")]
208+
#[cfg_attr(musl32_time64, link_name = "__pthread_mutex_timedlock_time64")]
208209
pub fn pthread_mutex_timedlock(
209210
lock: *mut crate::pthread_mutex_t,
210211
abstime: *const crate::timespec,

src/new/musl/sys/socket.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ extern "C" {
4141
vlen: c_uint,
4242
flags: c_uint,
4343
) -> c_int;
44+
#[cfg_attr(musl32_time64, link_name = "__recvmmsg_time64")]
4445
pub fn recvmmsg(
4546
sockfd: c_int,
4647
msgvec: *mut crate::mmsghdr,

src/unix/linux_like/linux/mod.rs

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5693,7 +5693,10 @@ cfg_if! {
56935693
pub fn aio_error(aiocbp: *const aiocb) -> c_int;
56945694
#[cfg_attr(gnu_file_offset_bits64, link_name = "aio_return64")]
56955695
pub fn aio_return(aiocbp: *mut aiocb) -> ssize_t;
5696-
#[cfg_attr(gnu_time_bits64, link_name = "__aio_suspend_time64")]
5696+
#[cfg_attr(
5697+
any(musl32_time64, gnu_time_bits64),
5698+
link_name = "__aio_suspend_time64"
5699+
)]
56975700
pub fn aio_suspend(
56985701
aiocb_list: *const *const aiocb,
56995702
nitems: c_int,
@@ -5756,6 +5759,7 @@ cfg_if! {
57565759
flags: c_ulong,
57575760
) -> isize;
57585761
#[cfg_attr(gnu_time_bits64, link_name = "__futimes64")]
5762+
#[cfg_attr(musl32_time64, link_name = "__futimes_time64")]
57595763
pub fn futimes(fd: c_int, times: *const crate::timeval) -> c_int;
57605764
}
57615765
}
@@ -5785,7 +5789,10 @@ cfg_if! {
57855789
msg_len: size_t,
57865790
msg_prio: *mut c_uint,
57875791
) -> ssize_t;
5788-
#[cfg_attr(gnu_time_bits64, link_name = "__mq_timedreceive_time64")]
5792+
#[cfg_attr(
5793+
any(gnu_time_bits64, musl32_time64),
5794+
link_name = "__mq_timedreceive_time64"
5795+
)]
57895796
pub fn mq_timedreceive(
57905797
mqd: crate::mqd_t,
57915798
msg_ptr: *mut c_char,
@@ -5799,7 +5806,10 @@ cfg_if! {
57995806
msg_len: size_t,
58005807
msg_prio: c_uint,
58015808
) -> c_int;
5802-
#[cfg_attr(gnu_time_bits64, link_name = "__mq_timedsend_time64")]
5809+
#[cfg_attr(
5810+
any(gnu_time_bits64, musl32_time64),
5811+
link_name = "__mq_timedsend_time64"
5812+
)]
58035813
pub fn mq_timedsend(
58045814
mqd: crate::mqd_t,
58055815
msg_ptr: *const c_char,
@@ -5840,6 +5850,7 @@ extern "C" {
58405850
pub fn lcong48(p: *mut c_ushort);
58415851

58425852
#[cfg_attr(gnu_time_bits64, link_name = "__lutimes64")]
5853+
#[cfg_attr(musl32_time64, link_name = "__lutimes_time64")]
58435854
pub fn lutimes(file: *const c_char, times: *const crate::timeval) -> c_int;
58445855

58455856
pub fn setpwent();
@@ -5935,9 +5946,9 @@ extern "C" {
59355946
pub fn fremovexattr(filedes: c_int, name: *const c_char) -> c_int;
59365947
pub fn signalfd(fd: c_int, mask: *const crate::sigset_t, flags: c_int) -> c_int;
59375948
pub fn timerfd_create(clockid: crate::clockid_t, flags: c_int) -> c_int;
5938-
#[cfg_attr(gnu_time_bits64, link_name = "__timerfd_gettime64")]
5949+
#[cfg_attr(any(gnu_time_bits64, musl32_time64), link_name = "__timerfd_gettime64")]
59395950
pub fn timerfd_gettime(fd: c_int, curr_value: *mut itimerspec) -> c_int;
5940-
#[cfg_attr(gnu_time_bits64, link_name = "__timerfd_settime64")]
5951+
#[cfg_attr(any(gnu_time_bits64, musl32_time64), link_name = "__timerfd_settime64")]
59415952
pub fn timerfd_settime(
59425953
fd: c_int,
59435954
flags: c_int,
@@ -5954,6 +5965,7 @@ extern "C" {
59545965
) -> c_int;
59555966
pub fn dup3(oldfd: c_int, newfd: c_int, flags: c_int) -> c_int;
59565967
#[cfg_attr(gnu_time_bits64, link_name = "__sigtimedwait64")]
5968+
#[cfg_attr(musl32_time64, link_name = "__sigtimedwait_time64")]
59575969
pub fn sigtimedwait(
59585970
set: *const sigset_t,
59595971
info: *mut siginfo_t,
@@ -6058,6 +6070,7 @@ extern "C" {
60586070
pub fn sched_get_priority_max(policy: c_int) -> c_int;
60596071
pub fn tee(fd_in: c_int, fd_out: c_int, len: size_t, flags: c_uint) -> ssize_t;
60606072
#[cfg_attr(gnu_time_bits64, link_name = "__settimeofday64")]
6073+
#[cfg_attr(musl32_time64, link_name = "__settimeofday_time64")]
60616074
pub fn settimeofday(tv: *const crate::timeval, tz: *const crate::timezone) -> c_int;
60626075
pub fn splice(
60636076
fd_in: c_int,
@@ -6072,8 +6085,10 @@ extern "C" {
60726085
pub fn eventfd_write(fd: c_int, value: eventfd_t) -> c_int;
60736086

60746087
#[cfg_attr(gnu_time_bits64, link_name = "__sched_rr_get_interval64")]
6088+
#[cfg_attr(musl32_time64, link_name = "__sched_rr_get_interval_time64")]
60756089
pub fn sched_rr_get_interval(pid: crate::pid_t, tp: *mut crate::timespec) -> c_int;
60766090
#[cfg_attr(gnu_time_bits64, link_name = "__sem_timedwait64")]
6091+
#[cfg_attr(musl32_time64, link_name = "__sem_timedwait_time64")]
60776092
pub fn sem_timedwait(sem: *mut sem_t, abstime: *const crate::timespec) -> c_int;
60786093
pub fn sem_getvalue(sem: *mut sem_t, sval: *mut c_int) -> c_int;
60796094
pub fn sched_setparam(pid: crate::pid_t, param: *const crate::sched_param) -> c_int;
@@ -6093,6 +6108,7 @@ extern "C" {
60936108
pub fn prctl(option: c_int, ...) -> c_int;
60946109
pub fn sched_getparam(pid: crate::pid_t, param: *mut crate::sched_param) -> c_int;
60956110
#[cfg_attr(gnu_time_bits64, link_name = "__ppoll64")]
6111+
#[cfg_attr(musl32_time64, link_name = "__ppoll_time64")]
60966112
pub fn ppoll(
60976113
fds: *mut crate::pollfd,
60986114
nfds: nfds_t,
@@ -6108,7 +6124,10 @@ extern "C" {
61086124
...
61096125
) -> c_int;
61106126
pub fn sched_getscheduler(pid: crate::pid_t) -> c_int;
6111-
#[cfg_attr(gnu_time_bits64, link_name = "__clock_nanosleep_time64")]
6127+
#[cfg_attr(
6128+
any(gnu_time_bits64, musl32_time64),
6129+
link_name = "__clock_nanosleep_time64"
6130+
)]
61126131
pub fn clock_nanosleep(
61136132
clk_id: crate::clockid_t,
61146133
flags: c_int,
@@ -6314,9 +6333,9 @@ extern "C" {
63146333
) -> c_int;
63156334
pub fn timer_delete(timerid: crate::timer_t) -> c_int;
63166335
pub fn timer_getoverrun(timerid: crate::timer_t) -> c_int;
6317-
#[cfg_attr(gnu_time_bits64, link_name = "__timer_gettime64")]
6336+
#[cfg_attr(any(gnu_time_bits64, musl32_time64), link_name = "__timer_gettime64")]
63186337
pub fn timer_gettime(timerid: crate::timer_t, curr_value: *mut crate::itimerspec) -> c_int;
6319-
#[cfg_attr(gnu_time_bits64, link_name = "__timer_settime64")]
6338+
#[cfg_attr(any(gnu_time_bits64, musl32_time64), link_name = "__timer_settime64")]
63206339
pub fn timer_settime(
63216340
timerid: crate::timer_t,
63226341
flags: c_int,

src/unix/linux_like/linux/musl/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,7 @@ extern "C" {
752752
new_limit: *const crate::rlimit,
753753
old_limit: *mut crate::rlimit,
754754
) -> c_int;
755+
#[cfg_attr(musl32_time64, link_name = "__gettimeofday_time64")]
755756
pub fn gettimeofday(tp: *mut crate::timeval, tz: *mut c_void) -> c_int;
756757
pub fn ptrace(request: c_int, ...) -> c_long;
757758
pub fn getpriority(which: c_int, who: crate::id_t) -> c_int;
@@ -787,7 +788,9 @@ extern "C" {
787788
// Added in `musl` 1.2.2
788789
pub fn reallocarray(ptr: *mut c_void, nmemb: size_t, size: size_t) -> *mut c_void;
789790

791+
#[cfg_attr(musl32_time64, link_name = "__adjtimex_time64")]
790792
pub fn adjtimex(buf: *mut crate::timex) -> c_int;
793+
#[cfg_attr(musl32_time64, link_name = "__clock_adjtime64")]
791794
pub fn clock_adjtime(clk_id: crate::clockid_t, buf: *mut crate::timex) -> c_int;
792795

793796
pub fn ctermid(s: *mut c_char) -> *mut c_char;

src/unix/linux_like/mod.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1871,10 +1871,11 @@ extern "C" {
18711871
pub fn mincore(addr: *mut c_void, len: size_t, vec: *mut c_uchar) -> c_int;
18721872

18731873
#[cfg_attr(gnu_time_bits64, link_name = "__clock_getres64")]
1874+
#[cfg_attr(musl32_time64, link_name = "__clock_getres_time64")]
18741875
pub fn clock_getres(clk_id: crate::clockid_t, tp: *mut crate::timespec) -> c_int;
1875-
#[cfg_attr(gnu_time_bits64, link_name = "__clock_gettime64")]
1876+
#[cfg_attr(any(gnu_time_bits64, musl32_time64), link_name = "__clock_gettime64")]
18761877
pub fn clock_gettime(clk_id: crate::clockid_t, tp: *mut crate::timespec) -> c_int;
1877-
#[cfg_attr(gnu_time_bits64, link_name = "__clock_settime64")]
1878+
#[cfg_attr(any(gnu_time_bits64, musl32_time64), link_name = "__clock_settime64")]
18781879
pub fn clock_settime(clk_id: crate::clockid_t, tp: *const crate::timespec) -> c_int;
18791880
pub fn clock_getcpuclockid(pid: crate::pid_t, clk_id: *mut crate::clockid_t) -> c_int;
18801881

@@ -1891,8 +1892,10 @@ extern "C" {
18911892
#[cfg_attr(gnu_file_offset_bits64, link_name = "posix_fadvise64")]
18921893
pub fn posix_fadvise(fd: c_int, offset: off_t, len: off_t, advise: c_int) -> c_int;
18931894
#[cfg_attr(gnu_time_bits64, link_name = "__futimens64")]
1895+
#[cfg_attr(musl32_time64, link_name = "__futimens_time64")]
18941896
pub fn futimens(fd: c_int, times: *const crate::timespec) -> c_int;
18951897
#[cfg_attr(gnu_time_bits64, link_name = "__utimensat64")]
1898+
#[cfg_attr(musl32_time64, link_name = "__utimensat_time64")]
18961899
pub fn utimensat(
18971900
dirfd: c_int,
18981901
path: *const c_char,
@@ -1928,7 +1931,7 @@ extern "C" {
19281931
pub fn sbrk(increment: intptr_t) -> *mut c_void;
19291932
pub fn setresgid(rgid: crate::gid_t, egid: crate::gid_t, sgid: crate::gid_t) -> c_int;
19301933
pub fn setresuid(ruid: crate::uid_t, euid: crate::uid_t, suid: crate::uid_t) -> c_int;
1931-
#[cfg_attr(gnu_time_bits64, link_name = "__wait4_time64")]
1934+
#[cfg_attr(any(gnu_time_bits64, musl32_time64), link_name = "__wait4_time64")]
19321935
pub fn wait4(
19331936
pid: crate::pid_t,
19341937
status: *mut c_int,

src/unix/mod.rs

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,7 @@ extern "C" {
905905
all(not(gnu_time_bits64), gnu_file_offset_bits64),
906906
link_name = "fstat64"
907907
)]
908+
#[cfg_attr(musl32_time64, link_name = "__fstat_time64")]
908909
pub fn fstat(fildes: c_int, buf: *mut stat) -> c_int;
909910

910911
pub fn mkdir(path: *const c_char, mode: mode_t) -> c_int;
@@ -923,6 +924,7 @@ extern "C" {
923924
all(not(gnu_time_bits64), gnu_file_offset_bits64),
924925
link_name = "stat64"
925926
)]
927+
#[cfg_attr(musl32_time64, link_name = "__stat_time64")]
926928
pub fn stat(path: *const c_char, buf: *mut stat) -> c_int;
927929

928930
pub fn pclose(stream: *mut crate::FILE) -> c_int;
@@ -1015,6 +1017,7 @@ extern "C" {
10151017
all(not(gnu_time_bits64), gnu_file_offset_bits64),
10161018
link_name = "fstatat64"
10171019
)]
1020+
#[cfg_attr(musl32_time64, link_name = "__fstatat_time64")]
10181021
pub fn fstatat(dirfd: c_int, pathname: *const c_char, buf: *mut stat, flags: c_int) -> c_int;
10191022
pub fn linkat(
10201023
olddirfd: c_int,
@@ -1115,6 +1118,7 @@ extern "C" {
11151118
)]
11161119
#[cfg_attr(target_os = "netbsd", link_name = "__nanosleep50")]
11171120
#[cfg_attr(gnu_time_bits64, link_name = "__nanosleep64")]
1121+
#[cfg_attr(musl32_time64, link_name = "__nanosleep_time64")]
11181122
pub fn nanosleep(rqtp: *const timespec, rmtp: *mut timespec) -> c_int;
11191123
pub fn tcgetpgrp(fd: c_int) -> pid_t;
11201124
pub fn tcsetpgrp(fd: c_int, pgrp: crate::pid_t) -> c_int;
@@ -1159,7 +1163,7 @@ extern "C" {
11591163
pub fn umask(mask: mode_t) -> mode_t;
11601164

11611165
#[cfg_attr(target_os = "netbsd", link_name = "__utime50")]
1162-
#[cfg_attr(gnu_time_bits64, link_name = "__utime64")]
1166+
#[cfg_attr(any(gnu_time_bits64, musl32_time64), link_name = "__utime64")]
11631167
pub fn utime(file: *const c_char, buf: *const utimbuf) -> c_int;
11641168

11651169
#[cfg_attr(
@@ -1214,6 +1218,7 @@ extern "C" {
12141218
all(not(gnu_time_bits64), gnu_file_offset_bits64),
12151219
link_name = "lstat64"
12161220
)]
1221+
#[cfg_attr(musl32_time64, link_name = "__lstat_time64")]
12171222
pub fn lstat(path: *const c_char, buf: *mut stat) -> c_int;
12181223

12191224
#[cfg_attr(
@@ -1245,6 +1250,7 @@ extern "C" {
12451250

12461251
#[cfg_attr(target_os = "netbsd", link_name = "__getrusage50")]
12471252
#[cfg_attr(gnu_time_bits64, link_name = "__getrusage64")]
1253+
#[cfg_attr(musl32_time64, link_name = "__getrusage_time64")]
12481254
pub fn getrusage(resource: c_int, usage: *mut rusage) -> c_int;
12491255

12501256
#[cfg_attr(
@@ -1327,6 +1333,7 @@ extern "C" {
13271333
link_name = "pthread_cond_timedwait$UNIX2003"
13281334
)]
13291335
#[cfg_attr(gnu_time_bits64, link_name = "__pthread_cond_timedwait64")]
1336+
#[cfg_attr(musl32_time64, link_name = "__pthread_cond_timedwait_time64")]
13301337
pub fn pthread_cond_timedwait(
13311338
cond: *mut crate::pthread_cond_t,
13321339
lock: *mut crate::pthread_mutex_t,
@@ -1395,9 +1402,11 @@ extern "C" {
13951402

13961403
#[cfg_attr(target_os = "netbsd", link_name = "__utimes50")]
13971404
#[cfg_attr(gnu_time_bits64, link_name = "__utimes64")]
1405+
#[cfg_attr(musl32_time64, link_name = "__utimes_time64")]
13981406
pub fn utimes(filename: *const c_char, times: *const crate::timeval) -> c_int;
13991407
pub fn dlopen(filename: *const c_char, flag: c_int) -> *mut c_void;
14001408
pub fn dlerror() -> *mut c_char;
1409+
#[cfg_attr(musl32_time64, link_name = "__dlsym_time64")]
14011410
pub fn dlsym(handle: *mut c_void, symbol: *const c_char) -> *mut c_void;
14021411
pub fn dlclose(handle: *mut c_void) -> c_int;
14031412

@@ -1445,49 +1454,44 @@ extern "C" {
14451454
pub fn res_init() -> c_int;
14461455

14471456
#[cfg_attr(target_os = "netbsd", link_name = "__gmtime_r50")]
1448-
#[cfg_attr(any(target_env = "musl", target_env = "ohos"), allow(deprecated))]
1449-
// FIXME(time): for `time_t`
14501457
#[cfg_attr(gnu_time_bits64, link_name = "__gmtime64_r")]
1458+
#[cfg_attr(not(musl32_time64), allow(deprecated))]
1459+
#[cfg_attr(musl32_time64, link_name = "__gmtime64_r")]
14511460
pub fn gmtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm;
14521461
#[cfg_attr(target_os = "netbsd", link_name = "__localtime_r50")]
1453-
#[cfg_attr(any(target_env = "musl", target_env = "ohos"), allow(deprecated))]
1454-
// FIXME(time): for `time_t`
14551462
#[cfg_attr(gnu_time_bits64, link_name = "__localtime64_r")]
1463+
#[cfg_attr(not(musl32_time64), allow(deprecated))]
1464+
#[cfg_attr(musl32_time64, link_name = "__localtime64_r")]
14561465
pub fn localtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm;
14571466
#[cfg_attr(
14581467
all(target_os = "macos", target_arch = "x86"),
14591468
link_name = "mktime$UNIX2003"
14601469
)]
14611470
#[cfg_attr(target_os = "netbsd", link_name = "__mktime50")]
1462-
#[cfg_attr(any(target_env = "musl", target_env = "ohos"), allow(deprecated))]
1463-
// FIXME: for `time_t`
1464-
#[cfg_attr(gnu_time_bits64, link_name = "__mktime64")]
1471+
#[cfg_attr(any(gnu_time_bits64, musl32_time64), link_name = "__mktime64")]
1472+
#[cfg_attr(not(musl32_time64), allow(deprecated))]
14651473
pub fn mktime(tm: *mut tm) -> time_t;
14661474
#[cfg_attr(target_os = "netbsd", link_name = "__time50")]
1467-
#[cfg_attr(any(target_env = "musl", target_env = "ohos"), allow(deprecated))]
1468-
// FIXME: for `time_t`
1469-
#[cfg_attr(gnu_time_bits64, link_name = "__time64")]
1475+
#[cfg_attr(any(gnu_time_bits64, musl32_time64), link_name = "__time64")]
1476+
#[cfg_attr(not(musl32_time64), allow(deprecated))]
14701477
pub fn time(time: *mut time_t) -> time_t;
14711478
#[cfg_attr(target_os = "netbsd", link_name = "__gmtime50")]
1472-
#[cfg_attr(any(target_env = "musl", target_env = "ohos"), allow(deprecated))]
1473-
// FIXME(time): for `time_t`
1474-
#[cfg_attr(gnu_time_bits64, link_name = "__gmtime64")]
1479+
#[cfg_attr(any(gnu_time_bits64, musl32_time64), link_name = "__gmtime64")]
1480+
#[cfg_attr(not(musl32_time64), allow(deprecated))]
14751481
pub fn gmtime(time_p: *const time_t) -> *mut tm;
14761482
#[cfg_attr(target_os = "netbsd", link_name = "__locatime50")]
1477-
#[cfg_attr(any(target_env = "musl", target_env = "ohos"), allow(deprecated))]
1478-
// FIXME(time): for `time_t`
1479-
#[cfg_attr(gnu_time_bits64, link_name = "__localtime64")]
1483+
#[cfg_attr(any(gnu_time_bits64, musl32_time64), link_name = "__localtime64")]
1484+
#[cfg_attr(not(musl32_time64), allow(deprecated))]
14801485
pub fn localtime(time_p: *const time_t) -> *mut tm;
14811486
#[cfg_attr(target_os = "netbsd", link_name = "__difftime50")]
1482-
#[cfg_attr(any(target_env = "musl", target_env = "ohos"), allow(deprecated))]
1483-
// FIXME(time): for `time_t`
1484-
#[cfg_attr(gnu_time_bits64, link_name = "__difftime64")]
1487+
#[cfg_attr(any(gnu_time_bits64, musl32_time64), link_name = "__difftime64")]
1488+
#[cfg_attr(not(musl32_time64), allow(deprecated))]
14851489
pub fn difftime(time1: time_t, time0: time_t) -> c_double;
14861490
#[cfg(not(target_os = "aix"))]
14871491
#[cfg_attr(target_os = "netbsd", link_name = "__timegm50")]
1488-
#[cfg_attr(any(target_env = "musl", target_env = "ohos"), allow(deprecated))]
1489-
// FIXME(time): for `time_t`
14901492
#[cfg_attr(gnu_time_bits64, link_name = "__timegm64")]
1493+
#[cfg_attr(not(musl32_time64), allow(deprecated))]
1494+
#[cfg_attr(musl32_time64, link_name = "__timegm_time64")]
14911495
pub fn timegm(tm: *mut crate::tm) -> time_t;
14921496

14931497
#[cfg_attr(target_os = "netbsd", link_name = "__mknod50")]
@@ -1548,6 +1552,7 @@ extern "C" {
15481552
#[cfg_attr(target_os = "netbsd", link_name = "__select50")]
15491553
#[cfg_attr(target_os = "aix", link_name = "__fd_select")]
15501554
#[cfg_attr(gnu_time_bits64, link_name = "__select64")]
1555+
#[cfg_attr(musl32_time64, link_name = "__select_time64")]
15511556
pub fn select(
15521557
nfds: c_int,
15531558
readfds: *mut fd_set,
@@ -1671,7 +1676,7 @@ cfg_if! {
16711676
)))] {
16721677
extern "C" {
16731678
#[cfg_attr(target_os = "netbsd", link_name = "__adjtime50")]
1674-
#[cfg_attr(gnu_time_bits64, link_name = "__adjtime64")]
1679+
#[cfg_attr(any(gnu_time_bits64, musl32_time64), link_name = "__adjtime64")]
16751680
pub fn adjtime(delta: *const timeval, olddelta: *mut timeval) -> c_int;
16761681
}
16771682
} else if #[cfg(target_os = "solaris")] {
@@ -1844,6 +1849,7 @@ cfg_if! {
18441849
)]
18451850
#[cfg_attr(target_os = "netbsd", link_name = "__pselect50")]
18461851
#[cfg_attr(gnu_time_bits64, link_name = "__pselect64")]
1852+
#[cfg_attr(musl32_time64, link_name = "__pselect_time64")]
18471853
pub fn pselect(
18481854
nfds: c_int,
18491855
readfds: *mut fd_set,

0 commit comments

Comments
 (0)