@@ -62,8 +62,7 @@ impl fmt::Debug for c_void {
62
62
#[ cfg( any(
63
63
all( not( target_arch = "aarch64" ) , not( target_arch = "powerpc" ) , not( target_arch = "x86_64" ) ) ,
64
64
all( target_arch = "aarch64" , any( target_os = "macos" , target_os = "ios" ) ) ,
65
- target_arch = "wasm32" ,
66
- target_arch = "wasm64" ,
65
+ target_family = "wasm" ,
67
66
target_arch = "asmjs" ,
68
67
windows
69
68
) ) ]
@@ -86,8 +85,7 @@ pub struct VaListImpl<'f> {
86
85
#[ cfg( any(
87
86
all( not( target_arch = "aarch64" ) , not( target_arch = "powerpc" ) , not( target_arch = "x86_64" ) ) ,
88
87
all( target_arch = "aarch64" , any( target_os = "macos" , target_os = "ios" ) ) ,
89
- target_arch = "wasm32" ,
90
- target_arch = "wasm64" ,
88
+ target_family = "wasm" ,
91
89
target_arch = "asmjs" ,
92
90
windows
93
91
) ) ]
@@ -187,8 +185,7 @@ pub struct VaList<'a, 'f: 'a> {
187
185
not( target_arch = "x86_64" )
188
186
) ,
189
187
all( target_arch = "aarch64" , any( target_os = "macos" , target_os = "ios" ) ) ,
190
- target_arch = "wasm32" ,
191
- target_arch = "wasm64" ,
188
+ target_family = "wasm" ,
192
189
target_arch = "asmjs" ,
193
190
windows
194
191
) ) ]
@@ -197,8 +194,7 @@ pub struct VaList<'a, 'f: 'a> {
197
194
#[ cfg( all(
198
195
any( target_arch = "aarch64" , target_arch = "powerpc" , target_arch = "x86_64" ) ,
199
196
any( not( target_arch = "aarch64" ) , not( any( target_os = "macos" , target_os = "ios" ) ) ) ,
200
- not( target_arch = "wasm32" ) ,
201
- not( target_arch = "wasm64" ) ,
197
+ not( target_family = "wasm" ) ,
202
198
not( target_arch = "asmjs" ) ,
203
199
not( windows)
204
200
) ) ]
@@ -210,8 +206,7 @@ pub struct VaList<'a, 'f: 'a> {
210
206
#[ cfg( any(
211
207
all( not( target_arch = "aarch64" ) , not( target_arch = "powerpc" ) , not( target_arch = "x86_64" ) ) ,
212
208
all( target_arch = "aarch64" , any( target_os = "macos" , target_os = "ios" ) ) ,
213
- target_arch = "wasm32" ,
214
- target_arch = "wasm64" ,
209
+ target_family = "wasm" ,
215
210
target_arch = "asmjs" ,
216
211
windows
217
212
) ) ]
@@ -232,8 +227,7 @@ impl<'f> VaListImpl<'f> {
232
227
#[ cfg( all(
233
228
any( target_arch = "aarch64" , target_arch = "powerpc" , target_arch = "x86_64" ) ,
234
229
any( not( target_arch = "aarch64" ) , not( any( target_os = "macos" , target_os = "ios" ) ) ) ,
235
- not( target_arch = "wasm32" ) ,
236
- not( target_arch = "wasm64" ) ,
230
+ not( target_family = "wasm" ) ,
237
231
not( target_arch = "asmjs" ) ,
238
232
not( windows)
239
233
) ) ]
0 commit comments