chore: use [lints] to address unexpected_cfgs lint (#7124)

This commit is contained in:
Taiki Endo
2025-01-25 17:46:21 +01:00
committed by GitHub
parent fb7dec0e95
commit 7f09959b0a
42 changed files with 46 additions and 55 deletions
+12
View File
@@ -17,3 +17,15 @@ members = [
[workspace.metadata.spellcheck]
config = "spellcheck.toml"
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(fuzzing)',
'cfg(loom)',
'cfg(mio_unsupported_force_poll_poll)',
'cfg(tokio_internal_mt_counters)',
'cfg(tokio_no_parking_lot)',
'cfg(tokio_no_tuning_tests)',
'cfg(tokio_taskdump)',
'cfg(tokio_unstable)',
] }