Skip to content

Commit 2183297

Browse files
committed
Suppress unexpected_cfgs warning.
The cfg is valid as it's intended to be passed manually to rustc. Fixes #21.
1 parent 8cc82ce commit 2183297

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ rust-version = "1.46.0"
2121
[features]
2222
std = []
2323
default = ["std"]
24+
25+
[lints.rust]
26+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(manual_codegen_check)'] }

0 commit comments

Comments
 (0)