@@ -268,7 +268,7 @@ fn test_apple(target: &str) {
268
268
"os/clock.h" ,
269
269
"os/lock.h" ,
270
270
"os/signpost.h" ,
271
- // FIXME: Requires the macOS 14.4 SDK.
271
+ // FIXME(macos) : Requires the macOS 14.4 SDK.
272
272
//"os/os_sync_wait_on_address.h",
273
273
"poll.h" ,
274
274
"pthread.h" ,
@@ -338,15 +338,15 @@ fn test_apple(target: &str) {
338
338
return true ;
339
339
}
340
340
match ty {
341
- // FIXME: actually a union
341
+ // FIXME(union) : actually a union
342
342
"sigval" => true ,
343
343
344
- // FIXME: The size is changed in recent macOSes.
344
+ // FIXME(macos) : The size is changed in recent macOSes.
345
345
"malloc_zone_t" => true ,
346
346
// it is a moving target, changing through versions
347
347
// also contains bitfields members
348
348
"tcp_connection_info" => true ,
349
- // FIXME: The size is changed in recent macOSes.
349
+ // FIXME(macos) : The size is changed in recent macOSes.
350
350
"malloc_introspection_t" => true ,
351
351
352
352
_ => false ,
@@ -358,10 +358,10 @@ fn test_apple(target: &str) {
358
358
return true ;
359
359
}
360
360
match ty {
361
- // FIXME: Requires the macOS 14.4 SDK.
361
+ // FIXME(macos) : Requires the macOS 14.4 SDK.
362
362
"os_sync_wake_by_address_flags_t" | "os_sync_wait_on_address_flags_t" => true ,
363
363
364
- // FIXME: "'__uint128' undeclared" in C
364
+ // FIXME(macos) : "'__uint128' undeclared" in C
365
365
"__uint128" => true ,
366
366
367
367
_ => false ,
@@ -377,13 +377,13 @@ fn test_apple(target: &str) {
377
377
// These OSX constants are removed in Sierra.
378
378
// https://developer.apple.com/library/content/releasenotes/General/APIDiffsMacOS10_12/Swift/Darwin.html
379
379
"KERN_KDENABLE_BG_TRACE" | "KERN_KDDISABLE_BG_TRACE" => true ,
380
- // FIXME: the value has been changed since Catalina (0xffff0000 -> 0x3fff0000).
380
+ // FIXME(macos) : the value has been changed since Catalina (0xffff0000 -> 0x3fff0000).
381
381
"SF_SETTABLE" => true ,
382
382
383
- // FIXME: XCode 13.1 doesn't have it.
383
+ // FIXME(macos) : XCode 13.1 doesn't have it.
384
384
"TIOCREMOTE" => true ,
385
385
386
- // FIXME: Requires the macOS 14.4 SDK.
386
+ // FIXME(macos) : Requires the macOS 14.4 SDK.
387
387
"OS_SYNC_WAKE_BY_ADDRESS_NONE"
388
388
| "OS_SYNC_WAKE_BY_ADDRESS_SHARED"
389
389
| "OS_SYNC_WAIT_ON_ADDRESS_NONE"
@@ -402,19 +402,19 @@ fn test_apple(target: &str) {
402
402
// close calls the close_nocancel system call
403
403
"close" => true ,
404
404
405
- // FIXME: std removed libresolv support: https://github.com/rust-lang/rust/pull/102766
405
+ // FIXME(1.0) : std removed libresolv support: https://github.com/rust-lang/rust/pull/102766
406
406
"res_init" => true ,
407
407
408
- // FIXME: remove once the target in CI is updated
408
+ // FIXME(macos) : remove once the target in CI is updated
409
409
"pthread_jit_write_freeze_callbacks_np" => true ,
410
410
411
- // FIXME: ABI has been changed on recent macOSes.
411
+ // FIXME(macos) : ABI has been changed on recent macOSes.
412
412
"os_unfair_lock_assert_owner" | "os_unfair_lock_assert_not_owner" => true ,
413
413
414
- // FIXME: Once the SDK get updated to Ventura's level
414
+ // FIXME(macos) : Once the SDK get updated to Ventura's level
415
415
"freadlink" | "mknodat" | "mkfifoat" => true ,
416
416
417
- // FIXME: Requires the macOS 14.4 SDK.
417
+ // FIXME(macos) : Requires the macOS 14.4 SDK.
418
418
"os_sync_wake_by_address_any"
419
419
| "os_sync_wake_by_address_all"
420
420
| "os_sync_wake_by_address_flags_t"
@@ -429,7 +429,7 @@ fn test_apple(target: &str) {
429
429
430
430
cfg. skip_field ( move |struct_, field| {
431
431
match ( struct_, field) {
432
- // FIXME: the array size has been changed since macOS 10.15 ([8] -> [7]).
432
+ // FIXME(macos) : the array size has been changed since macOS 10.15 ([8] -> [7]).
433
433
( "statfs" , "f_reserved" ) => true ,
434
434
( "__darwin_arm_neon_state64" , "__v" ) => true ,
435
435
// MAXPATHLEN is too big for auto-derive traits on arrays.
@@ -447,7 +447,7 @@ fn test_apple(target: &str) {
447
447
448
448
cfg. skip_field_type ( move |struct_, field| {
449
449
match ( struct_, field) {
450
- // FIXME: actually a union
450
+ // FIXME(union) : actually a union
451
451
( "sigevent" , "sigev_value" ) => true ,
452
452
_ => false ,
453
453
}
@@ -481,7 +481,7 @@ fn test_apple(target: &str) {
481
481
s if s. ends_with ( "_nsec" ) && struct_. starts_with ( "stat" ) => {
482
482
s. replace ( "e_nsec" , "espec.tv_nsec" )
483
483
}
484
- // FIXME: sigaction actually contains a union with two variants:
484
+ // FIXME(macos) : sigaction actually contains a union with two variants:
485
485
// a sa_sigaction with type: (*)(int, struct __siginfo *, void *)
486
486
// a sa_handler with type sig_t
487
487
"sa_sigaction" if struct_ == "sigaction" => "sa_handler" . to_string ( ) ,
@@ -490,7 +490,7 @@ fn test_apple(target: &str) {
490
490
} ) ;
491
491
492
492
cfg. skip_roundtrip ( move |s| match s {
493
- // FIXME: this type has the wrong ABI
493
+ // FIXME(macos) : this type has the wrong ABI
494
494
"max_align_t" if i686 => true ,
495
495
// Can't return an array from a C function.
496
496
"uuid_t" | "vol_capabilities_set_t" => true ,
@@ -597,7 +597,7 @@ fn test_openbsd(target: &str) {
597
597
return true ;
598
598
}
599
599
match ty {
600
- // FIXME: actually a union
600
+ // FIXME(union) : actually a union
601
601
"sigval" => true ,
602
602
603
603
_ => false ,
@@ -915,6 +915,7 @@ fn test_solarish(target: &str) {
915
915
"sched.h" ,
916
916
"semaphore.h" ,
917
917
"signal.h" ,
918
+ "spawn.h" ,
918
919
"stddef.h" ,
919
920
"stdint.h" ,
920
921
"stdio.h" ,
@@ -3065,6 +3066,9 @@ fn test_emscripten(target: &str) {
3065
3066
// https://github.com/emscripten-core/emscripten/pull/14883
3066
3067
"SIG_IGN" => true ,
3067
3068
3069
+ // Constants present in other linuxes but not emscripten
3070
+ "SI_DETHREAD" | "TRAP_PERF" => true ,
3071
+
3068
3072
// LFS64 types have been removed in Emscripten 3.1.44
3069
3073
// https://github.com/emscripten-core/emscripten/pull/19812
3070
3074
n if n. starts_with ( "RLIM64" ) => true ,
@@ -4130,6 +4134,9 @@ fn test_linux(target: &str) {
4130
4134
// FIXME: Not currently available in headers on ARM and musl.
4131
4135
"NETLINK_GET_STRICT_CHK" if arm => true ,
4132
4136
4137
+ // Skip as this signal codes and trap reasons need newer headers
4138
+ "SI_DETHREAD" | "TRAP_PERF" => true ,
4139
+
4133
4140
// kernel constants not available in uclibc 1.0.34
4134
4141
| "EXTPROC"
4135
4142
| "IPPROTO_BEETPH"
0 commit comments