mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 04:09:48 +00:00
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:
parent
27ed7f170d
commit
17b696fd0a
1 changed files with 3 additions and 0 deletions
|
@ -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" }
|
||||
|
|
Loading…
Reference in a new issue