From 298960c05a1b9aaa0e86a2756dd8f739f37a0c9f Mon Sep 17 00:00:00 2001 From: Aaron O'Mullan Date: Wed, 4 Sep 2024 01:43:01 +0900 Subject: [PATCH] lint(simd): don't build simd::sse42 when +avx2 simd::avx2 no longer calls simd::sse42, so we shouldn't build it when compiling for +avx2 --- src/simd/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/simd/mod.rs b/src/simd/mod.rs index 63464b4..0e4493a 100644 --- a/src/simd/mod.rs +++ b/src/simd/mod.rs @@ -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",