mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
7e25cc2aa0
The compiler is now able to warn if an invalid attribute (e.g like a feature) is not available. See https://blog.rust-lang.org/2024/05/06/check-cfg.html for more details. Add build.rs files in the crates that use #cfg(fuzzing) to add fuzzing to the list of valid cfg attributes. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
9 lines
152 B
Rust
9 lines
152 B
Rust
// Copyright © 2024 Intel Corporation
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
fn main() {
|
|
println!("cargo::rustc-check-cfg=cfg(fuzzing)");
|
|
}
|