silence clippy::eq_op while checking
This error occurs when the RISC-V "A" Extension is being tested.
This commit is contained in:
parent
ebe8804680
commit
be20f62a20
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue