Skip to content

Commit ac8ea5c

Browse files
committed
Fixes to compile with latest Rust nightly
1 parent 2ab87e8 commit ac8ea5c

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

crates/assert-instr-macro/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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())

crates/core_arch/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@
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
)]

crates/std_detect/tests/x86-specific.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
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

0 commit comments

Comments
 (0)