Disable cfg check for the recently-merged target features to allow stdarch update
This commit is contained in:
parent
fbd13bd08c
commit
a721b3ec29
3 changed files with 11 additions and 1 deletions
|
|
@ -104,15 +104,20 @@ features! {
|
|||
/// RV128I Base Integer Instruction Set
|
||||
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zicsr: "zicsr";
|
||||
without cfg check: true;
|
||||
/// "Zicsr" Extension for Control and Status Register (CSR) Instructions
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zicntr: "zicntr";
|
||||
without cfg check: true;
|
||||
/// "Zicntr" Extension for Base Counters and Timers
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zihpm: "zihpm";
|
||||
without cfg check: true;
|
||||
/// "Zihpm" Extension for Hardware Performance Counters
|
||||
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zifencei: "zifencei";
|
||||
without cfg check: true;
|
||||
/// "Zifencei" Extension for Instruction-Fetch Fence
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zihintpause: "zihintpause";
|
||||
without cfg check: true;
|
||||
/// "Zihintpause" Extension for Pause Hint
|
||||
|
||||
@FEATURE: #[stable(feature = "riscv_ratified", since = "1.78.0")] m: "m";
|
||||
|
|
|
|||
|
|
@ -224,14 +224,19 @@ features! {
|
|||
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "126622")] amx_complex: "amx-complex";
|
||||
/// AMX-COMPLEX (Complex number Operations)
|
||||
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "126622")] amx_avx512: "amx-avx512";
|
||||
without cfg check: true;
|
||||
/// AMX-AVX512 (AVX512 operations extended to matrices)
|
||||
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "126622")] amx_fp8: "amx-fp8";
|
||||
without cfg check: true;
|
||||
/// AMX-FP8 (Float8 Operations)
|
||||
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "126622")] amx_movrs: "amx-movrs";
|
||||
without cfg check: true;
|
||||
/// AMX-MOVRS (Matrix MOVERS operations)
|
||||
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "126622")] amx_tf32: "amx-tf32";
|
||||
without cfg check: true;
|
||||
/// AMX-TF32 (TensorFloat32 Operations)
|
||||
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "126622")] amx_transpose: "amx-transpose";
|
||||
without cfg check: true;
|
||||
/// AMX-TRANSPOSE (Matrix Transpose Operations)
|
||||
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] f16c: "f16c";
|
||||
/// F16C (Conversions between IEEE-754 `binary16` and `binary32` formats)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ macro_rules! check_cfg_feature {
|
|||
$(cfg!(target_feature = $target_feature_lit);)*
|
||||
};
|
||||
($feature:tt, $feature_lit:tt, without cfg check: $feature_cfg_check:literal) => {
|
||||
#[expect(unexpected_cfgs, reason = $feature_lit)]
|
||||
#[allow(unexpected_cfgs, reason = $feature_lit)]
|
||||
{ cfg!(target_feature = $feature_lit) }
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue