Skip to content

Commit 0b13563

Browse files
committed
Tell nightly rust about our used cfgs
1 parent 7ed41a9 commit 0b13563

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,6 @@ loom = { git = "https://github.com/tokio-rs/loom", rev = "a93bf2390e0fcfdb7c5899
5353
[package.metadata.docs.rs]
5454
all-features = true
5555
rustdoc-args = ["--cfg", "docsrs"]
56+
57+
[lints.rust]
58+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)', 'cfg(thingbuf_trace)'] }

0 commit comments

Comments
 (0)