Fixes to compile with latest Rust nightly

This commit is contained in:
Amanieu d'Antras 2025-06-11 14:25:59 +01:00
parent 7c2d2a3050
commit 341889647e
3 changed files with 3 additions and 5 deletions

View file

@ -124,8 +124,10 @@ pub fn assert_instr(
let target = std::env::var("TARGET").unwrap();
if target.contains("x86_64") {
syn::LitStr::new("sysv64", proc_macro2::Span::call_site())
} else {
} else if target.contains("86") {
syn::LitStr::new("vectorcall", proc_macro2::Span::call_site())
} else {
syn::LitStr::new("C", proc_macro2::Span::call_site())
}
} else {
syn::LitStr::new("C", proc_macro2::Span::call_site())

View file

@ -33,10 +33,8 @@
decl_macro,
generic_arg_infer,
asm_experimental_arch,
sha512_sm_x86,
x86_amx_intrinsics,
f16,
keylocker_x86,
aarch64_unstable_target_feature,
bigint_helper_methods
)]

View file

@ -2,10 +2,8 @@
#![allow(internal_features)]
#![feature(
stdarch_internal,
sha512_sm_x86,
x86_amx_intrinsics,
xop_target_feature,
keylocker_x86,
movrs_target_feature
)]