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(
124
124
let target = std:: env:: var ( "TARGET" ) . unwrap ( ) ;
125
125
if target. contains ( "x86_64" ) {
126
126
syn:: LitStr :: new ( "sysv64" , proc_macro2:: Span :: call_site ( ) )
127
- } else {
127
+ } else if target . contains ( "86" ) {
128
128
syn:: LitStr :: new ( "vectorcall" , proc_macro2:: Span :: call_site ( ) )
129
+ } else {
130
+ syn:: LitStr :: new ( "C" , proc_macro2:: Span :: call_site ( ) )
129
131
}
130
132
} else {
131
133
syn:: LitStr :: new ( "C" , proc_macro2:: Span :: call_site ( ) )
Original file line number Diff line number Diff line change 33
33
decl_macro,
34
34
generic_arg_infer,
35
35
asm_experimental_arch,
36
- sha512_sm_x86,
37
36
x86_amx_intrinsics,
38
37
f16,
39
- keylocker_x86,
40
38
aarch64_unstable_target_feature,
41
39
bigint_helper_methods
42
40
) ]
Original file line number Diff line number Diff line change 2
2
#![ allow( internal_features) ]
3
3
#![ feature(
4
4
stdarch_internal,
5
- sha512_sm_x86,
6
5
x86_amx_intrinsics,
7
6
xop_target_feature,
8
- keylocker_x86,
9
7
movrs_target_feature
10
8
) ]
11
9
You can’t perform that action at this time.
0 commit comments