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 {
126
126
f8fma : bool ,
127
127
f8dp4 : bool ,
128
128
f8dp2 : bool ,
129
- f8e4m3 : bool ,
130
- f8e5m2 : bool ,
129
+ // f8e4m3: bool,
130
+ // f8e5m2: bool,
131
131
smelutv2 : bool ,
132
132
smef8f16 : bool ,
133
133
smef8f32 : bool ,
@@ -230,8 +230,8 @@ impl From<auxvec::AuxVec> for AtHwcap {
230
230
f8fma : bit:: test ( auxv. hwcap2 , 52 ) ,
231
231
f8dp4 : bit:: test ( auxv. hwcap2 , 53 ) ,
232
232
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),
235
235
smelutv2 : bit:: test ( auxv. hwcap2 , 57 ) ,
236
236
smef8f16 : bit:: test ( auxv. hwcap2 , 58 ) ,
237
237
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 {
10
10
cache ( opt_hwcap, facilities)
11
11
}
12
12
13
+ // FIXME(#143487): is it okay that the fields are never read?
14
+ #[ expect( dead_code) ]
13
15
#[ derive( Debug , Default , PartialEq ) ]
14
16
struct AtHwcap {
15
17
esan3 : bool ,
You can’t perform that action at this time.
0 commit comments