Skip to content

Commit 42422dc

Browse files
authored
lint(simd): don't build simd::sse42 when +avx2 (#183)
simd::avx2 no longer calls simd::sse42, so we shouldn't build it when compiling for +avx2
1 parent 47853d7 commit 42422dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/simd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pub use self::swar::*;
1515

1616
#[cfg(all(
1717
httparse_simd,
18+
not(httparse_simd_target_feature_avx2),
1819
any(
1920
target_arch = "x86",
2021
target_arch = "x86_64",

0 commit comments

Comments
 (0)