Skip to content

Commit ef68d97

Browse files
committed
seq: allow "fuzzing" as cfg condition name
in Cargo.toml
1 parent 79d7158 commit ef68d97

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/uu/seq/Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# spell-checker:ignore bigdecimal
1+
# spell-checker:ignore bigdecimal cfgs
22
[package]
33
name = "uu_seq"
44
version = "0.0.27"
@@ -27,3 +27,8 @@ uucore = { workspace = true, features = ["format", "quoting-style"] }
2727
[[bin]]
2828
name = "seq"
2929
path = "src/main.rs"
30+
31+
# Allow "fuzzing" as a "cfg" condition name
32+
# https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html
33+
[lints.rust]
34+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }

0 commit comments

Comments
 (0)