clippy: fix unfulfilled_lint_expectations lint#685
Conversation
casting to a less strictly aligned pointer (`u8`) does not trigger the lint
|
A little confused why these weren't breaking CI earlier. The intent was to only keep |
|
I'm seeing these warnings locally when running: cargo clippy --all --tests --features serde,rayon -- -D warnings`Perhaps they haven’t shown up in CI because |
|
Oh, yeah, huh. I guess that this is an issue when it comes to the SIMD code. Not sure what the best solution is other than running clippy on those targets in CI too, hmm. |
|
Yeah CI needs a matrix strategy that runs clippy for every target, opened #691 |
|
The main issue is that we test substantially more targets than would need clippy runs, since we want to verify performance and correctness. Honestly, the big issue is that I think we could definitely improve it by running clippy on more targets, however, to at least cover all the code. |
casting to a less strictly aligned pointer (
u8) does not trigger thecast_ptr_alignmentlint