File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
library/stdarch/crates/std_detect/src/detect/os/linux Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -126,8 +126,8 @@ struct AtHwcap {
126126 f8fma : bool ,
127127 f8dp4 : bool ,
128128 f8dp2 : bool ,
129- f8e4m3 : bool ,
130- f8e5m2 : bool ,
129+ // f8e4m3: bool,
130+ // f8e5m2: bool,
131131 smelutv2 : bool ,
132132 smef8f16 : bool ,
133133 smef8f32 : bool ,
@@ -230,8 +230,8 @@ impl From<auxvec::AuxVec> for AtHwcap {
230230 f8fma : bit:: test ( auxv. hwcap2 , 52 ) ,
231231 f8dp4 : bit:: test ( auxv. hwcap2 , 53 ) ,
232232 f8dp2 : bit:: test ( auxv. hwcap2 , 54 ) ,
233- f8e4m3 : bit:: test ( auxv. hwcap2 , 55 ) ,
234- f8e5m2 : bit:: test ( auxv. hwcap2 , 56 ) ,
233+ // f8e4m3: bit::test(auxv.hwcap2, 55),
234+ // f8e5m2: bit::test(auxv.hwcap2, 56),
235235 smelutv2 : bit:: test ( auxv. hwcap2 , 57 ) ,
236236 smef8f16 : bit:: test ( auxv. hwcap2 , 58 ) ,
237237 smef8f32 : bit:: test ( auxv. hwcap2 , 59 ) ,
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ pub(crate) fn detect_features() -> cache::Initializer {
1010 cache ( opt_hwcap, facilities)
1111}
1212
13+ // FIXME(#143487): is it okay that the fields are never read?
14+ #[ expect( dead_code) ]
1315#[ derive( Debug , Default , PartialEq ) ]
1416struct AtHwcap {
1517 esan3 : bool ,
You can’t perform that action at this time.
0 commit comments