@@ -222,7 +222,8 @@ fn test_apple(target: &str) {
222
222
"os/clock.h" ,
223
223
"os/lock.h" ,
224
224
"os/signpost.h" ,
225
- "os/os_sync_wait_on_address.h" ,
225
+ // FIXME: Requires the macOS 14.4 SDK.
226
+ //"os/os_sync_wait_on_address.h",
226
227
"poll.h" ,
227
228
"pthread.h" ,
228
229
"pthread_spis.h" ,
@@ -313,6 +314,9 @@ fn test_apple(target: &str) {
313
314
return true ;
314
315
}
315
316
match ty {
317
+ // FIXME: Requires the macOS 14.4 SDK.
318
+ "os_sync_wake_by_address_flags_t" | "os_sync_wait_on_address_flags_t" => true ,
319
+
316
320
_ => false ,
317
321
}
318
322
} ) ;
@@ -327,6 +331,13 @@ fn test_apple(target: &str) {
327
331
328
332
// FIXME: XCode 13.1 doesn't have it.
329
333
"TIOCREMOTE" => true ,
334
+
335
+ // FIXME: Requires the macOS 14.4 SDK.
336
+ "OS_SYNC_WAKE_BY_ADDRESS_NONE"
337
+ | "OS_SYNC_WAKE_BY_ADDRESS_SHARED"
338
+ | "OS_SYNC_WAIT_ON_ADDRESS_NONE"
339
+ | "OS_SYNC_WAIT_ON_ADDRESS_SHARED" => true ,
340
+
330
341
_ => false ,
331
342
}
332
343
} ) ;
@@ -349,6 +360,15 @@ fn test_apple(target: &str) {
349
360
// FIXME: Once the SDK get updated to Ventura's level
350
361
"freadlink" | "mknodat" | "mkfifoat" => true ,
351
362
363
+ // FIXME: Requires the macOS 14.4 SDK.
364
+ "os_sync_wake_by_address_any"
365
+ | "os_sync_wake_by_address_all"
366
+ | "os_sync_wake_by_address_flags_t"
367
+ | "os_sync_wait_on_address"
368
+ | "os_sync_wait_on_address_flags_t"
369
+ | "os_sync_wait_on_address_with_deadline"
370
+ | "os_sync_wait_on_address_with_timeout" => true ,
371
+
352
372
_ => false ,
353
373
}
354
374
} ) ;
0 commit comments