File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
crates/std_detect/src/detect Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -104,15 +104,20 @@ features! {
104104 /// RV128I Base Integer Instruction Set
105105
106106 @FEATURE : #[ unstable( feature = "stdarch_riscv_feature_detection" , issue = "111192" ) ] zicsr: "zicsr" ;
107+ without cfg check: true ;
107108 /// "Zicsr" Extension for Control and Status Register (CSR) Instructions
108109 @FEATURE : #[ unstable( feature = "stdarch_riscv_feature_detection" , issue = "111192" ) ] zicntr: "zicntr" ;
110+ without cfg check: true ;
109111 /// "Zicntr" Extension for Base Counters and Timers
110112 @FEATURE : #[ unstable( feature = "stdarch_riscv_feature_detection" , issue = "111192" ) ] zihpm: "zihpm" ;
113+ without cfg check: true ;
111114 /// "Zihpm" Extension for Hardware Performance Counters
112115
113116 @FEATURE : #[ unstable( feature = "stdarch_riscv_feature_detection" , issue = "111192" ) ] zifencei: "zifencei" ;
117+ without cfg check: true ;
114118 /// "Zifencei" Extension for Instruction-Fetch Fence
115119 @FEATURE : #[ unstable( feature = "stdarch_riscv_feature_detection" , issue = "111192" ) ] zihintpause: "zihintpause" ;
120+ without cfg check: true ;
116121 /// "Zihintpause" Extension for Pause Hint
117122
118123 @FEATURE : #[ stable( feature = "riscv_ratified" , since = "1.78.0" ) ] m: "m" ;
Original file line number Diff line number Diff line change @@ -224,14 +224,19 @@ features! {
224224 @FEATURE : #[ unstable( feature = "x86_amx_intrinsics" , issue = "126622" ) ] amx_complex: "amx-complex" ;
225225 /// AMX-COMPLEX (Complex number Operations)
226226 @FEATURE : #[ unstable( feature = "x86_amx_intrinsics" , issue = "126622" ) ] amx_avx512: "amx-avx512" ;
227+ without cfg check: true ;
227228 /// AMX-AVX512 (AVX512 operations extended to matrices)
228229 @FEATURE : #[ unstable( feature = "x86_amx_intrinsics" , issue = "126622" ) ] amx_fp8: "amx-fp8" ;
230+ without cfg check: true ;
229231 /// AMX-FP8 (Float8 Operations)
230232 @FEATURE : #[ unstable( feature = "x86_amx_intrinsics" , issue = "126622" ) ] amx_movrs: "amx-movrs" ;
233+ without cfg check: true ;
231234 /// AMX-MOVRS (Matrix MOVERS operations)
232235 @FEATURE : #[ unstable( feature = "x86_amx_intrinsics" , issue = "126622" ) ] amx_tf32: "amx-tf32" ;
236+ without cfg check: true ;
233237 /// AMX-TF32 (TensorFloat32 Operations)
234238 @FEATURE : #[ unstable( feature = "x86_amx_intrinsics" , issue = "126622" ) ] amx_transpose: "amx-transpose" ;
239+ without cfg check: true ;
235240 /// AMX-TRANSPOSE (Matrix Transpose Operations)
236241 @FEATURE : #[ stable( feature = "simd_x86" , since = "1.27.0" ) ] f16c: "f16c" ;
237242 /// F16C (Conversions between IEEE-754 `binary16` and `binary32` formats)
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ macro_rules! check_cfg_feature {
2323 $( cfg!( target_feature = $target_feature_lit) ; ) *
2424 } ;
2525 ( $feature: tt, $feature_lit: tt, without cfg check: $feature_cfg_check: literal) => {
26- #[ expect ( unexpected_cfgs, reason = $feature_lit) ]
26+ #[ allow ( unexpected_cfgs, reason = $feature_lit) ]
2727 { cfg!( target_feature = $feature_lit) }
2828 } ;
2929}
You can’t perform that action at this time.
0 commit comments