File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,7 @@ pub mod float;
3939pub mod int;
4040
4141#[ 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" ) ,
4443 all( target_arch = "x86_64" , target_os = "uefi" ) ,
4544 all( target_arch = "arm" , target_os = "none" ) ,
4645 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 {
1616
1717#[ cfg( any(
1818 all(
19- any ( target_arch = "wasm32" , target_arch = "wasm64" ) ,
19+ target_family = "wasm" ,
2020 target_os = "unknown" ,
2121 not( target_env = "wasi" )
2222 ) ,
@@ -66,7 +66,7 @@ no_mangle! {
6666
6767#[ cfg( any(
6868 all(
69- any ( target_arch = "wasm32" , target_arch = "wasm64" ) ,
69+ target_family = "wasm" ,
7070 target_os = "unknown" ,
7171 not( target_env = "wasi" )
7272 ) ,
You can’t perform that action at this time.
0 commit comments