Skip to content

Commit

Permalink
lint(simd): don't build simd::sse42 when +avx2 (#183)
Browse files Browse the repository at this point in the history
simd::avx2 no longer calls simd::sse42, so we shouldn't build it when compiling for +avx2
  • Loading branch information
AaronO authored Sep 3, 2024
1 parent 47853d7 commit 42422dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/simd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pub use self::swar::*;

#[cfg(all(
httparse_simd,
not(httparse_simd_target_feature_avx2),
any(
target_arch = "x86",
target_arch = "x86_64",
Expand Down

0 comments on commit 42422dc

Please sign in to comment.