mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: Ensure clippy --tests runs on integration.rs
Include the file when running clippy as well as when building with devcli_testenv set. Fixes: #7846 Signed-off-by: Rob Bradford <rbradford@meta.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
#![cfg(devcli_testenv)]
|
||||
#![cfg(any(devcli_testenv, clippy))]
|
||||
#![allow(clippy::undocumented_unsafe_blocks)]
|
||||
// When enabling the `mshv` feature, we skip quite some tests and
|
||||
// hence have known dead-code. This annotation silences dead-code
|
||||
|
||||
Reference in New Issue
Block a user