Skip to content

Commit

Permalink
fix lint warnings about cfgs
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Jun 10, 2024
1 parent 8bbdfdd commit 9cd58db
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)',
] }

0 comments on commit 9cd58db

Please sign in to comment.