fuzz: expect cfg(fuzzing)

Otherwise clippy in Rust 1.80 and newer warns about unexpected_cfgs.

BUG=b:365852007

Change-Id: Id0496dec2491d1e850954f801c2f700b22be5179
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5902376
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
This commit is contained in:
Daniel Verkamp 2024-09-26 17:50:56 -07:00 committed by crosvm LUCI
parent 27ed7f170d
commit 17b696fd0a

View file

@ -7,6 +7,9 @@ edition = "2021"
[package.metadata]
cargo-fuzz = true
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }
[dependencies]
devices = { path = "../devices" }
disk = { path = "../disk" }