@@ -4784,83 +4784,6 @@ fn test_linux(target: &str) {
47844784 _ => false ,
47854785 } ) ;
47864786
4787- // FIXME(musl,time): these should be resolved with the time64 updates
4788- if musl_v1_2_3 {
4789- // Time primitives changed, as did structs containing them
4790- cfg. skip_alias ( |ty| match ty. ident ( ) {
4791- "time_t" | "suseconds_t" => true ,
4792- _ => false ,
4793- } ) ;
4794- cfg. skip_struct ( |s| match s. ident ( ) {
4795- "utimbuf" | "timeval" | "timespec" | "rusage" | "itimerval" | "itimerspec"
4796- | "timex" | "ntptimeval" | "stat" | "shmid_ds" | "msqid_ds" => true ,
4797- _ => false ,
4798- } ) ;
4799-
4800- cfg. skip_const ( |c| match c. ident ( ) {
4801- // Changed syscall numbers under `linux_time_bits64`
4802- "SO_TIMESTAMP" | "SO_TIMESTAMPNS" | "SO_TIMESTAMPING" | "SO_RCVTIMEO"
4803- | "SO_SNDTIMEO" => true ,
4804- // Derived from `SO_` constants
4805- "SCM_TIMESTAMP" | "SCM_TIMESTAMPNS" | "SCM_TIMESTAMPING" => true ,
4806- // `IPC_STAT` and derived values
4807- "IPC_STAT" | "SEM_STAT" | "SEM_STAT_ANY" => true ,
4808- _ => false ,
4809- } ) ;
4810-
4811- // Functions that got a new link name
4812- cfg. skip_fn_ptrcheck ( |f| match f {
4813- "pthread_mutex_timedlock"
4814- | "recvmmsg"
4815- | "fstat"
4816- | "stat"
4817- | "fstatat"
4818- | "nanosleep"
4819- | "utime"
4820- | "lstat"
4821- | "getrusage"
4822- | "pthread_cond_timedwait"
4823- | "utimes"
4824- | "dlsym"
4825- | "gmtime_r"
4826- | "localtime_r"
4827- | "mktime"
4828- | "time"
4829- | "gmtime"
4830- | "localtime"
4831- | "difftime"
4832- | "timegm"
4833- | "select"
4834- | "adjtime"
4835- | "pselect"
4836- | "clock_getres"
4837- | "clock_gettime"
4838- | "clock_settime"
4839- | "futimens"
4840- | "utimensat"
4841- | "wait4"
4842- | "aio_suspend"
4843- | "futimes"
4844- | "mq_timedreceive"
4845- | "mq_timedsend"
4846- | "lutimes"
4847- | "timerfd_gettime"
4848- | "timerfd_settime"
4849- | "sigtimedwait"
4850- | "settimeofday"
4851- | "sched_rr_get_interval"
4852- | "sem_timedwait"
4853- | "ppoll"
4854- | "clock_nanosleep"
4855- | "timer_gettime"
4856- | "timer_settime"
4857- | "gettimeofday"
4858- | "adjtimex"
4859- | "clock_adjtime" => true ,
4860- _ => false ,
4861- } ) ;
4862- }
4863-
48644787 ctest:: generate_test ( & mut cfg, "../src/lib.rs" , "ctest_output.rs" ) . unwrap ( ) ;
48654788
48664789 if !l4re {
0 commit comments