File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -124,8 +124,10 @@ pub fn assert_instr(
124124 let target = std:: env:: var ( "TARGET" ) . unwrap ( ) ;
125125 if target. contains ( "x86_64" ) {
126126 syn:: LitStr :: new ( "sysv64" , proc_macro2:: Span :: call_site ( ) )
127- } else {
127+ } else if target . contains ( "86" ) {
128128 syn:: LitStr :: new ( "vectorcall" , proc_macro2:: Span :: call_site ( ) )
129+ } else {
130+ syn:: LitStr :: new ( "C" , proc_macro2:: Span :: call_site ( ) )
129131 }
130132 } else {
131133 syn:: LitStr :: new ( "C" , proc_macro2:: Span :: call_site ( ) )
Original file line number Diff line number Diff line change 3333 decl_macro,
3434 generic_arg_infer,
3535 asm_experimental_arch,
36- sha512_sm_x86,
3736 x86_amx_intrinsics,
3837 f16,
39- keylocker_x86,
4038 aarch64_unstable_target_feature,
4139 bigint_helper_methods
4240) ]
Original file line number Diff line number Diff line change 22#![ allow( internal_features) ]
33#![ feature(
44 stdarch_internal,
5- sha512_sm_x86,
65 x86_amx_intrinsics,
76 xop_target_feature,
8- keylocker_x86,
97 movrs_target_feature
108) ]
119
You can’t perform that action at this time.
0 commit comments