silence clippy::eq_op while checking

This error occurs when the RISC-V "A" Extension is being tested.
This commit is contained in:
Tsukasa OI 2025-03-21 05:32:09 +00:00 committed by Amanieu d'Antras
parent ebe8804680
commit be20f62a20

View file

@ -23,6 +23,7 @@ pub(crate) fn detect_features() -> cache::Initializer {
//
// [hwcap]: https://github.com/torvalds/linux/blob/master/arch/riscv/include/asm/hwcap.h
let auxv = auxvec::auxv().expect("read auxvec"); // should not fail on RISC-V platform
#[allow(clippy::eq_op)]
enable_feature(
&mut value,
Feature::a,