@@ -242,7 +242,8 @@ fn test_apple(target: &str) {
242
242
"os/clock.h" ,
243
243
"os/lock.h" ,
244
244
"os/signpost.h" ,
245
- "os/os_sync_wait_on_address.h" ,
245
+ // FIXME: Requires the macOS 14.4 SDK.
246
+ //"os/os_sync_wait_on_address.h",
246
247
"poll.h" ,
247
248
"pthread.h" ,
248
249
"pthread_spis.h" ,
@@ -331,6 +332,9 @@ fn test_apple(target: &str) {
331
332
return true ;
332
333
}
333
334
match ty {
335
+ // FIXME: Requires the macOS 14.4 SDK.
336
+ "os_sync_wake_by_address_flags_t" | "os_sync_wait_on_address_flags_t" => true ,
337
+
334
338
_ => false ,
335
339
}
336
340
} ) ;
@@ -349,6 +353,14 @@ fn test_apple(target: &str) {
349
353
350
354
// FIXME: XCode 13.1 doesn't have it.
351
355
"TIOCREMOTE" => true ,
356
+
357
+ // FIXME: Requires the macOS 14.4 SDK.
358
+ "OS_CLOCK_MACH_ABSOLUTE_TIME"
359
+ | "OS_SYNC_WAKE_BY_ADDRESS_NONE"
360
+ | "OS_SYNC_WAKE_BY_ADDRESS_SHARED"
361
+ | "OS_SYNC_WAIT_ON_ADDRESS_NONE"
362
+ | "OS_SYNC_WAIT_ON_ADDRESS_SHARED" => true ,
363
+
352
364
_ => false ,
353
365
}
354
366
} ) ;
@@ -374,6 +386,15 @@ fn test_apple(target: &str) {
374
386
// FIXME: Once the SDK get updated to Ventura's level
375
387
"freadlink" | "mknodat" | "mkfifoat" => true ,
376
388
389
+ // FIXME: Requires the macOS 14.4 SDK.
390
+ "os_sync_wake_by_address_any"
391
+ | "os_sync_wake_by_address_all"
392
+ | "os_sync_wake_by_address_flags_t"
393
+ | "os_sync_wait_on_address"
394
+ | "os_sync_wait_on_address_flags_t"
395
+ | "os_sync_wait_on_address_with_deadline"
396
+ | "os_sync_wait_on_address_with_timeout" => true ,
397
+
377
398
_ => false ,
378
399
}
379
400
} ) ;
0 commit comments