summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hofstetter <daniel.hofstetter@42dh.com>2024-07-23 15:58:57 +0200
committerDaniel Hofstetter <daniel.hofstetter@42dh.com>2024-07-23 15:58:57 +0200
commitef68d9778f7dedee99bd47baebe5668db0d16d95 (patch)
tree6e276220ea9ce8f5f1234bc4567ce3c53e793758
parent79d7158aac37a03d7e454de3154f3c504149a428 (diff)
seq: allow "fuzzing" as cfg condition name
in Cargo.toml
-rw-r--r--src/uu/seq/Cargo.toml7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/uu/seq/Cargo.toml b/src/uu/seq/Cargo.toml
index 5184668217..cdb514439f 100644
--- a/src/uu/seq/Cargo.toml
+++ b/src/uu/seq/Cargo.toml
@@ -1,4 +1,4 @@
-# spell-checker:ignore bigdecimal
+# spell-checker:ignore bigdecimal cfgs
[package]
name = "uu_seq"
version = "0.0.27"
@@ -27,3 +27,8 @@ uucore = { workspace = true, features = ["format", "quoting-style"] }
[[bin]]
name = "seq"
path = "src/main.rs"
+
+# Allow "fuzzing" as a "cfg" condition name
+# https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html
+[lints.rust]
+unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }