diff --git a/src/platform.rs b/src/platform.rs index 00058b1..603687d 100644 --- a/src/platform.rs +++ b/src/platform.rs @@ -371,6 +371,7 @@ pub fn avx2_detected() -> bool { #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] #[inline(always)] +#[allow(unreachable_code)] pub fn sse41_detected() -> bool { // A testing-only short-circuit. if cfg!(feature = "no_sse41") {