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:
commit
12eacd1cf2
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
# spell-checker:ignore bigdecimal
|
# spell-checker:ignore bigdecimal cfgs
|
||||||
[package]
|
[package]
|
||||||
name = "uu_seq"
|
name = "uu_seq"
|
||||||
version = "0.0.27"
|
version = "0.0.27"
|
||||||
|
@ -27,3 +27,8 @@ uucore = { workspace = true, features = ["format", "quoting-style"] }
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "seq"
|
name = "seq"
|
||||||
path = "src/main.rs"
|
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)'] }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue