mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-07 00:00:13 +02:00
Use [lints] to address unexpected_cfgs lint (#762)
This commit is contained in:
@@ -33,3 +33,8 @@ loom = "0.7"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[lints.rust]
|
||||
unexpected_cfgs = { level = "warn", check-cfg = [
|
||||
'cfg(loom)',
|
||||
] }
|
||||
|
||||
Reference in New Issue
Block a user