diff --git a/crates/std_detect/src/detect/os/linux/riscv.rs b/crates/std_detect/src/detect/os/linux/riscv.rs index d3865cb5e9..2a9671d75d 100644 --- a/crates/std_detect/src/detect/os/linux/riscv.rs +++ b/crates/std_detect/src/detect/os/linux/riscv.rs @@ -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,