diff --git a/Cargo.toml b/Cargo.toml index 943bde7..d5c105d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,3 +13,6 @@ categories = ["development-tools", "embedded"] [target.'cfg(loom)'.dependencies] loom = "0.5" + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ["cfg(loom)"] }