From 07a14ee3c3a80f9070c96d1ee0041048e97608e3 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 14 Jan 2025 10:29:32 +0100 Subject: [PATCH] Disable unexpected cfg lint for cfg(loom) --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) 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)"] }