Skip to content

Commit 07a14ee

Browse files
Disable unexpected cfg lint for cfg(loom)
1 parent 78306b4 commit 07a14ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ categories = ["development-tools", "embedded"]
1313

1414
[target.'cfg(loom)'.dependencies]
1515
loom = "0.5"
16+
17+
[lints.rust]
18+
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(loom)"] }

0 commit comments

Comments
 (0)