@@ -62,8 +62,7 @@ impl fmt::Debug for c_void {
6262#[ cfg( any(
6363 all( not( target_arch = "aarch64" ) , not( target_arch = "powerpc" ) , not( target_arch = "x86_64" ) ) ,
6464 all( target_arch = "aarch64" , any( target_os = "macos" , target_os = "ios" ) ) ,
65- target_arch = "wasm32" ,
66- target_arch = "wasm64" ,
65+ target_family = "wasm" ,
6766 target_arch = "asmjs" ,
6867 windows
6968) ) ]
@@ -86,8 +85,7 @@ pub struct VaListImpl<'f> {
8685#[ cfg( any(
8786 all( not( target_arch = "aarch64" ) , not( target_arch = "powerpc" ) , not( target_arch = "x86_64" ) ) ,
8887 all( target_arch = "aarch64" , any( target_os = "macos" , target_os = "ios" ) ) ,
89- target_arch = "wasm32" ,
90- target_arch = "wasm64" ,
88+ target_family = "wasm" ,
9189 target_arch = "asmjs" ,
9290 windows
9391) ) ]
@@ -187,8 +185,7 @@ pub struct VaList<'a, 'f: 'a> {
187185 not( target_arch = "x86_64" )
188186 ) ,
189187 all( target_arch = "aarch64" , any( target_os = "macos" , target_os = "ios" ) ) ,
190- target_arch = "wasm32" ,
191- target_arch = "wasm64" ,
188+ target_family = "wasm" ,
192189 target_arch = "asmjs" ,
193190 windows
194191 ) ) ]
@@ -197,8 +194,7 @@ pub struct VaList<'a, 'f: 'a> {
197194 #[ cfg( all(
198195 any( target_arch = "aarch64" , target_arch = "powerpc" , target_arch = "x86_64" ) ,
199196 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" ) ,
202198 not( target_arch = "asmjs" ) ,
203199 not( windows)
204200 ) ) ]
@@ -210,8 +206,7 @@ pub struct VaList<'a, 'f: 'a> {
210206#[ cfg( any(
211207 all( not( target_arch = "aarch64" ) , not( target_arch = "powerpc" ) , not( target_arch = "x86_64" ) ) ,
212208 all( target_arch = "aarch64" , any( target_os = "macos" , target_os = "ios" ) ) ,
213- target_arch = "wasm32" ,
214- target_arch = "wasm64" ,
209+ target_family = "wasm" ,
215210 target_arch = "asmjs" ,
216211 windows
217212) ) ]
@@ -232,8 +227,7 @@ impl<'f> VaListImpl<'f> {
232227#[ cfg( all(
233228 any( target_arch = "aarch64" , target_arch = "powerpc" , target_arch = "x86_64" ) ,
234229 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" ) ,
237231 not( target_arch = "asmjs" ) ,
238232 not( windows)
239233) ) ]
0 commit comments