@@ -47,7 +47,7 @@ impl fmt::Debug for c_void {
47
47
/// Basic implementation of a `va_list`.
48
48
#[ cfg( any( all( not( target_arch = "aarch64" ) , not( target_arch = "powerpc" ) ,
49
49
not( target_arch = "x86_64" ) ) ,
50
- all( target_arch = "aarch4 " , target_os = "ios" ) ,
50
+ all( target_arch = "aarch64 " , target_os = "ios" ) ,
51
51
windows) ) ]
52
52
#[ unstable( feature = "c_variadic" ,
53
53
reason = "the `c_variadic` feature has not been properly tested on \
@@ -59,6 +59,7 @@ extern {
59
59
60
60
#[ cfg( any( all( not( target_arch = "aarch64" ) , not( target_arch = "powerpc" ) ,
61
61
not( target_arch = "x86_64" ) ) ,
62
+ all( target_arch = "aarch64" , target_os = "ios" ) ,
62
63
windows) ) ]
63
64
impl fmt:: Debug for VaListImpl {
64
65
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
@@ -67,11 +68,11 @@ impl fmt::Debug for VaListImpl {
67
68
}
68
69
69
70
/// AArch64 ABI implementation of a `va_list`. See the
70
- /// [Aarch64 Procedure Call Standard] for more details.
71
+ /// [AArch64 Procedure Call Standard] for more details.
71
72
///
72
73
/// [AArch64 Procedure Call Standard]:
73
74
/// http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055b/IHI0055B_aapcs64.pdf
74
- #[ cfg( all( target_arch = "aarch64" , not( windows) ) ) ]
75
+ #[ cfg( all( target_arch = "aarch64" , not( target_os = "ios" ) , not ( windows) ) ) ]
75
76
#[ repr( C ) ]
76
77
#[ derive( Debug ) ]
77
78
#[ unstable( feature = "c_variadic" ,
@@ -193,14 +194,14 @@ impl<'a> VaList<'a> {
193
194
where F : for < ' copy > FnOnce ( VaList < ' copy > ) -> R {
194
195
#[ cfg( any( all( not( target_arch = "aarch64" ) , not( target_arch = "powerpc" ) ,
195
196
not( target_arch = "x86_64" ) ) ,
196
- all( target_arch = "aarch4 " , target_os = "ios" ) ,
197
+ all( target_arch = "aarch64 " , target_os = "ios" ) ,
197
198
windows) ) ]
198
199
let mut ap = va_copy ( self ) ;
199
200
#[ cfg( all( any( target_arch = "aarch64" , target_arch = "powerpc" , target_arch = "x86_64" ) ,
200
- not( windows) ) ) ]
201
+ not( windows) , not ( all ( target_arch = "aarch64" , target_os = "ios" ) ) ) ) ]
201
202
let mut ap_inner = va_copy ( self ) ;
202
203
#[ cfg( all( any( target_arch = "aarch64" , target_arch = "powerpc" , target_arch = "x86_64" ) ,
203
- not( windows) ) ) ]
204
+ not( windows) , not ( all ( target_arch = "aarch64" , target_os = "ios" ) ) ) ) ]
204
205
let mut ap = VaList ( & mut ap_inner) ;
205
206
let ret = f ( VaList ( ap. 0 ) ) ;
206
207
va_end ( & mut ap) ;
@@ -216,10 +217,11 @@ extern "rust-intrinsic" {
216
217
/// Copies the current location of arglist `src` to the arglist `dst`.
217
218
#[ cfg( any( all( not( target_arch = "aarch64" ) , not( target_arch = "powerpc" ) ,
218
219
not( target_arch = "x86_64" ) ) ,
220
+ all( target_arch = "aarch64" , target_os = "ios" ) ,
219
221
windows) ) ]
220
222
fn va_copy < ' a > ( src : & VaList < ' a > ) -> VaList < ' a > ;
221
223
#[ cfg( all( any( target_arch = "aarch64" , target_arch = "powerpc" , target_arch = "x86_64" ) ,
222
- not( windows) ) ) ]
224
+ not( windows) , not ( all ( target_arch = "aarch64" , target_os = "ios" ) ) ) ) ]
223
225
fn va_copy ( src : & VaList ) -> VaListImpl ;
224
226
225
227
/// Loads an argument of type `T` from the `va_list` `ap` and increment the
0 commit comments