@@ -213,7 +213,7 @@ impl fmt::Debug for c_void {
213
213
not( target_arch = "s390x" ) ,
214
214
not( target_arch = "x86_64" )
215
215
) ,
216
- all( target_arch = "aarch64" , any ( target_os = "macos" , target_os = "ios" , target_os = "tvos" ) ) ,
216
+ all( target_arch = "aarch64" , target_vendor = "apple" ) ,
217
217
target_family = "wasm" ,
218
218
target_os = "uefi" ,
219
219
windows,
@@ -241,7 +241,7 @@ pub struct VaListImpl<'f> {
241
241
not( target_arch = "s390x" ) ,
242
242
not( target_arch = "x86_64" )
243
243
) ,
244
- all( target_arch = "aarch64" , any ( target_os = "macos" , target_os = "ios" , target_os = "tvos" ) ) ,
244
+ all( target_arch = "aarch64" , target_vendor = "apple" ) ,
245
245
target_family = "wasm" ,
246
246
target_os = "uefi" ,
247
247
windows,
@@ -265,7 +265,7 @@ impl<'f> fmt::Debug for VaListImpl<'f> {
265
265
/// http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055b/IHI0055B_aapcs64.pdf
266
266
#[ cfg( all(
267
267
target_arch = "aarch64" ,
268
- not( any ( target_os = "macos" , target_os = "ios" , target_os = "tvos" ) ) ,
268
+ not( target_vendor = "apple" ) ,
269
269
not( target_os = "uefi" ) ,
270
270
not( windows) ,
271
271
) ) ]
@@ -362,10 +362,7 @@ pub struct VaList<'a, 'f: 'a> {
362
362
not( target_arch = "s390x" ) ,
363
363
not( target_arch = "x86_64" )
364
364
) ,
365
- all(
366
- target_arch = "aarch64" ,
367
- any( target_os = "macos" , target_os = "ios" , target_os = "tvos" )
368
- ) ,
365
+ all( target_arch = "aarch64" , target_vendor = "apple" ) ,
369
366
target_family = "wasm" ,
370
367
target_os = "uefi" ,
371
368
windows,
@@ -379,10 +376,7 @@ pub struct VaList<'a, 'f: 'a> {
379
376
target_arch = "s390x" ,
380
377
target_arch = "x86_64"
381
378
) ,
382
- any(
383
- not( target_arch = "aarch64" ) ,
384
- not( any( target_os = "macos" , target_os = "ios" , target_os = "tvos" ) )
385
- ) ,
379
+ any( not( target_arch = "aarch64" ) , not( target_vendor = "apple" ) ) ,
386
380
not( target_family = "wasm" ) ,
387
381
not( target_os = "uefi" ) ,
388
382
not( windows) ,
@@ -399,7 +393,7 @@ pub struct VaList<'a, 'f: 'a> {
399
393
not( target_arch = "s390x" ) ,
400
394
not( target_arch = "x86_64" )
401
395
) ,
402
- all( target_arch = "aarch64" , any ( target_os = "macos" , target_os = "ios" , target_os = "tvos" ) ) ,
396
+ all( target_arch = "aarch64" , target_vendor = "apple" ) ,
403
397
target_family = "wasm" ,
404
398
target_os = "uefi" ,
405
399
windows,
@@ -425,10 +419,7 @@ impl<'f> VaListImpl<'f> {
425
419
target_arch = "s390x" ,
426
420
target_arch = "x86_64"
427
421
) ,
428
- any(
429
- not( target_arch = "aarch64" ) ,
430
- not( any( target_os = "macos" , target_os = "ios" , target_os = "tvos" ) )
431
- ) ,
422
+ any( not( target_arch = "aarch64" ) , not( target_vendor = "apple" ) ) ,
432
423
not( target_family = "wasm" ) ,
433
424
not( target_os = "uefi" ) ,
434
425
not( windows) ,
0 commit comments