1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #6497 from cakebaker/cargo_cfg_fuzzing

Cargo.toml: allow "fuzzing" as `cfg` condition name
This commit is contained in:
Sylvestre Ledru 2024-07-26 00:48:18 +02:00 committed by GitHub
commit 12eacd1cf2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)'] }