fuzz: add lint to generate-files.sh

In #2785 I modified fuzz/Cargo.toml without updating the Cargo.toml
generating script. Oops. Fix that.
This commit is contained in:
Andrew Poelstra 2024-05-24 14:30:49 +00:00
parent 613f1fb126
commit 91eb50b2db
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
2 changed files with 6 additions and 3 deletions

View File

@ -17,6 +17,9 @@ serde = { version = "1.0.103", features = [ "derive" ] }
serde_json = "1.0"
serde_cbor = "0.9"
[lints.rust]
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(fuzzing)'] }
[[bin]]
name = "bitcoin_deserialize_address"
path = "fuzz_targets/bitcoin/deserialize_address.rs"
@ -88,6 +91,3 @@ path = "fuzz_targets/hashes/sha512.rs"
[[bin]]
name = "units_deserialize_amount"
path = "fuzz_targets/units/deserialize_amount.rs"
[lints.rust]
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(fuzzing)'] }

View File

@ -28,6 +28,9 @@ bitcoin = { path = "../bitcoin", features = [ "serde" ] }
serde = { version = "1.0.103", features = [ "derive" ] }
serde_json = "1.0"
serde_cbor = "0.9"
[lints.rust]
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(fuzzing)'] }
EOF
for targetFile in $(listTargetFiles); do