@@ -268,7 +268,7 @@ fn test_apple(target: &str) {
268268 "os/clock.h" ,
269269 "os/lock.h" ,
270270 "os/signpost.h" ,
271- // FIXME: Requires the macOS 14.4 SDK.
271+ // FIXME(macos) : Requires the macOS 14.4 SDK.
272272 //"os/os_sync_wait_on_address.h",
273273 "poll.h" ,
274274 "pthread.h" ,
@@ -338,15 +338,15 @@ fn test_apple(target: &str) {
338338 return true ;
339339 }
340340 match ty {
341- // FIXME: actually a union
341+ // FIXME(union) : actually a union
342342 "sigval" => true ,
343343
344- // FIXME: The size is changed in recent macOSes.
344+ // FIXME(macos) : The size is changed in recent macOSes.
345345 "malloc_zone_t" => true ,
346346 // it is a moving target, changing through versions
347347 // also contains bitfields members
348348 "tcp_connection_info" => true ,
349- // FIXME: The size is changed in recent macOSes.
349+ // FIXME(macos) : The size is changed in recent macOSes.
350350 "malloc_introspection_t" => true ,
351351
352352 _ => false ,
@@ -358,10 +358,10 @@ fn test_apple(target: &str) {
358358 return true ;
359359 }
360360 match ty {
361- // FIXME: Requires the macOS 14.4 SDK.
361+ // FIXME(macos) : Requires the macOS 14.4 SDK.
362362 "os_sync_wake_by_address_flags_t" | "os_sync_wait_on_address_flags_t" => true ,
363363
364- // FIXME: "'__uint128' undeclared" in C
364+ // FIXME(macos) : "'__uint128' undeclared" in C
365365 "__uint128" => true ,
366366
367367 _ => false ,
@@ -377,13 +377,13 @@ fn test_apple(target: &str) {
377377 // These OSX constants are removed in Sierra.
378378 // https://developer.apple.com/library/content/releasenotes/General/APIDiffsMacOS10_12/Swift/Darwin.html
379379 "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).
381381 "SF_SETTABLE" => true ,
382382
383- // FIXME: XCode 13.1 doesn't have it.
383+ // FIXME(macos) : XCode 13.1 doesn't have it.
384384 "TIOCREMOTE" => true ,
385385
386- // FIXME: Requires the macOS 14.4 SDK.
386+ // FIXME(macos) : Requires the macOS 14.4 SDK.
387387 "OS_SYNC_WAKE_BY_ADDRESS_NONE"
388388 | "OS_SYNC_WAKE_BY_ADDRESS_SHARED"
389389 | "OS_SYNC_WAIT_ON_ADDRESS_NONE"
@@ -402,19 +402,19 @@ fn test_apple(target: &str) {
402402 // close calls the close_nocancel system call
403403 "close" => true ,
404404
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
406406 "res_init" => true ,
407407
408- // FIXME: remove once the target in CI is updated
408+ // FIXME(macos) : remove once the target in CI is updated
409409 "pthread_jit_write_freeze_callbacks_np" => true ,
410410
411- // FIXME: ABI has been changed on recent macOSes.
411+ // FIXME(macos) : ABI has been changed on recent macOSes.
412412 "os_unfair_lock_assert_owner" | "os_unfair_lock_assert_not_owner" => true ,
413413
414- // FIXME: Once the SDK get updated to Ventura's level
414+ // FIXME(macos) : Once the SDK get updated to Ventura's level
415415 "freadlink" | "mknodat" | "mkfifoat" => true ,
416416
417- // FIXME: Requires the macOS 14.4 SDK.
417+ // FIXME(macos) : Requires the macOS 14.4 SDK.
418418 "os_sync_wake_by_address_any"
419419 | "os_sync_wake_by_address_all"
420420 | "os_sync_wake_by_address_flags_t"
@@ -429,7 +429,7 @@ fn test_apple(target: &str) {
429429
430430 cfg. skip_field ( move |struct_, field| {
431431 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]).
433433 ( "statfs" , "f_reserved" ) => true ,
434434 ( "__darwin_arm_neon_state64" , "__v" ) => true ,
435435 // MAXPATHLEN is too big for auto-derive traits on arrays.
@@ -447,7 +447,7 @@ fn test_apple(target: &str) {
447447
448448 cfg. skip_field_type ( move |struct_, field| {
449449 match ( struct_, field) {
450- // FIXME: actually a union
450+ // FIXME(union) : actually a union
451451 ( "sigevent" , "sigev_value" ) => true ,
452452 _ => false ,
453453 }
@@ -481,7 +481,7 @@ fn test_apple(target: &str) {
481481 s if s. ends_with ( "_nsec" ) && struct_. starts_with ( "stat" ) => {
482482 s. replace ( "e_nsec" , "espec.tv_nsec" )
483483 }
484- // FIXME: sigaction actually contains a union with two variants:
484+ // FIXME(macos) : sigaction actually contains a union with two variants:
485485 // a sa_sigaction with type: (*)(int, struct __siginfo *, void *)
486486 // a sa_handler with type sig_t
487487 "sa_sigaction" if struct_ == "sigaction" => "sa_handler" . to_string ( ) ,
@@ -490,7 +490,7 @@ fn test_apple(target: &str) {
490490 } ) ;
491491
492492 cfg. skip_roundtrip ( move |s| match s {
493- // FIXME: this type has the wrong ABI
493+ // FIXME(macos) : this type has the wrong ABI
494494 "max_align_t" if i686 => true ,
495495 // Can't return an array from a C function.
496496 "uuid_t" | "vol_capabilities_set_t" => true ,
@@ -597,7 +597,7 @@ fn test_openbsd(target: &str) {
597597 return true ;
598598 }
599599 match ty {
600- // FIXME: actually a union
600+ // FIXME(union) : actually a union
601601 "sigval" => true ,
602602
603603 _ => false ,
@@ -915,6 +915,7 @@ fn test_solarish(target: &str) {
915915 "sched.h" ,
916916 "semaphore.h" ,
917917 "signal.h" ,
918+ "spawn.h" ,
918919 "stddef.h" ,
919920 "stdint.h" ,
920921 "stdio.h" ,
@@ -3065,6 +3066,9 @@ fn test_emscripten(target: &str) {
30653066 // https://github.com/emscripten-core/emscripten/pull/14883
30663067 "SIG_IGN" => true ,
30673068
3069+ // Constants present in other linuxes but not emscripten
3070+ "SI_DETHREAD" | "TRAP_PERF" => true ,
3071+
30683072 // LFS64 types have been removed in Emscripten 3.1.44
30693073 // https://github.com/emscripten-core/emscripten/pull/19812
30703074 n if n. starts_with ( "RLIM64" ) => true ,
@@ -4130,6 +4134,9 @@ fn test_linux(target: &str) {
41304134 // FIXME: Not currently available in headers on ARM and musl.
41314135 "NETLINK_GET_STRICT_CHK" if arm => true ,
41324136
4137+ // Skip as this signal codes and trap reasons need newer headers
4138+ "SI_DETHREAD" | "TRAP_PERF" => true ,
4139+
41334140 // kernel constants not available in uclibc 1.0.34
41344141 | "EXTPROC"
41354142 | "IPPROTO_BEETPH"
0 commit comments