@@ -104,7 +104,7 @@ fn do_semver() {
104
104
// maintain a file for Android.
105
105
// NOTE: AIX doesn't include the unix file because there are definitions
106
106
// missing on AIX. It is easier to maintain a file for AIX.
107
- if family != os && !matches ! ( os. as_str( ) , "android" | "aix" ) {
107
+ if family != os && !matches ! ( os. as_str( ) , "android" | "aix" ) && os != "vxworks" {
108
108
process_semver_file ( & mut output, & mut semver_root, & family) ;
109
109
}
110
110
// We don't do semver for unknown targets.
@@ -3450,6 +3450,7 @@ fn test_vxworks(target: &str) {
3450
3450
let mut cfg = ctest_cfg ( ) ;
3451
3451
headers ! { cfg:
3452
3452
"vxWorks.h" ,
3453
+ "semLibCommon.h" ,
3453
3454
"yvals.h" ,
3454
3455
"nfs/nfsCommon.h" ,
3455
3456
"rtpLibCommon.h" ,
@@ -3466,13 +3467,11 @@ fn test_vxworks(target: &str) {
3466
3467
"elf.h" ,
3467
3468
"fcntl.h" ,
3468
3469
"grp.h" ,
3469
- "sys/poll.h" ,
3470
3470
"ifaddrs.h" ,
3471
3471
"langinfo.h" ,
3472
3472
"limits.h" ,
3473
3473
"link.h" ,
3474
3474
"locale.h" ,
3475
- "sys/stat.h" ,
3476
3475
"netdb.h" ,
3477
3476
"pthread.h" ,
3478
3477
"pwd.h" ,
@@ -3484,6 +3483,9 @@ fn test_vxworks(target: &str) {
3484
3483
"stdio.h" ,
3485
3484
"stdlib.h" ,
3486
3485
"string.h" ,
3486
+ "sys/select.h" ,
3487
+ "sys/stat.h" ,
3488
+ "sys/poll.h" ,
3487
3489
"sys/file.h" ,
3488
3490
"sys/ioctl.h" ,
3489
3491
"sys/socket.h" ,
@@ -3494,7 +3496,14 @@ fn test_vxworks(target: &str) {
3494
3496
"sys/un.h" ,
3495
3497
"sys/utsname.h" ,
3496
3498
"sys/wait.h" ,
3499
+ "sys/ttycom.h" ,
3500
+ "sys/utsname.h" ,
3501
+ "sys/resource.h" ,
3502
+ "sys/mman.h" ,
3497
3503
"netinet/tcp.h" ,
3504
+ "netinet/udp.h" ,
3505
+ "netinet/in.h" ,
3506
+ "netinet6/in6.h" ,
3498
3507
"syslog.h" ,
3499
3508
"termios.h" ,
3500
3509
"time.h" ,
@@ -3503,21 +3512,24 @@ fn test_vxworks(target: &str) {
3503
3512
"utime.h" ,
3504
3513
"wchar.h" ,
3505
3514
"errno.h" ,
3506
- "sys/mman.h" ,
3507
3515
"pathLib.h" ,
3508
3516
"mqueue.h" ,
3517
+ "fnmatch.h" ,
3518
+ "sioLibCommon.h" ,
3519
+ "net/if.h" ,
3509
3520
}
3510
3521
// FIXME(vxworks)
3511
3522
cfg. skip_const ( move |constant| match constant. ident ( ) {
3512
3523
// sighandler_t weirdness
3513
3524
"SIG_DFL" | "SIG_ERR" | "SIG_IGN"
3514
3525
// This is not defined in vxWorks
3515
- | "RTLD_DEFAULT" => true ,
3526
+ | "RTLD_DEFAULT" | "S_ISVTX" | "SIGIO" | "SIGWINCH" | "SIGLOST" | "PRIO_PROCESS" => true ,
3516
3527
_ => false ,
3517
3528
} ) ;
3518
3529
// FIXME(vxworks)
3519
3530
cfg. skip_alias ( move |ty| match ty. ident ( ) {
3520
3531
"stat64" | "sighandler_t" | "off64_t" => true ,
3532
+ "__uint128" => true ,
3521
3533
_ => false ,
3522
3534
} ) ;
3523
3535
@@ -3539,7 +3551,7 @@ fn test_vxworks(target: &str) {
3539
3551
// FIXME(vxworks)
3540
3552
cfg. skip_fn ( move |func| match func. ident ( ) {
3541
3553
// sighandler_t
3542
- "signal"
3554
+ | "signal"
3543
3555
// not used in static linking by default
3544
3556
| "dlerror" => true ,
3545
3557
_ => false ,
0 commit comments