From 9cd58db721a1a4b534ee453ebcdf11d63381c49e Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Mon, 10 Jun 2024 09:40:00 -0400 Subject: [PATCH] fix lint warnings about cfgs --- Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index d9dc45b..7d91b56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,3 +30,11 @@ harness = false lto = true codegen-units = 1 opt-level = 3 + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = [ + 'cfg(httparse_simd)', + 'cfg(httparse_simd_target_feature_avx2)', + 'cfg(httparse_simd_target_feature_sse42)', + 'cfg(httparse_simd_neon_intrinsics)', +] }