File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,7 @@ pub mod float;
39
39
pub mod int;
40
40
41
41
#[ cfg( any(
42
- all( target_arch = "wasm32" , target_os = "unknown" ) ,
43
- all( target_arch = "wasm64" , target_os = "unknown" ) ,
42
+ all( target_family = "wasm" , target_os = "unknown" ) ,
44
43
all( target_arch = "x86_64" , target_os = "uefi" ) ,
45
44
all( target_arch = "arm" , target_os = "none" ) ,
46
45
all( target_vendor = "fortanix" , target_env = "sgx" )
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ macro_rules! no_mangle {
16
16
17
17
#[ cfg( any(
18
18
all(
19
- any ( target_arch = "wasm32" , target_arch = "wasm64" ) ,
19
+ target_family = "wasm" ,
20
20
target_os = "unknown" ,
21
21
not( target_env = "wasi" )
22
22
) ,
@@ -66,7 +66,7 @@ no_mangle! {
66
66
67
67
#[ cfg( any(
68
68
all(
69
- any ( target_arch = "wasm32" , target_arch = "wasm64" ) ,
69
+ target_family = "wasm" ,
70
70
target_os = "unknown" ,
71
71
not( target_env = "wasi" )
72
72
) ,
You can’t perform that action at this time.
0 commit comments