diff --git a/net_util/build.rs b/net_util/build.rs new file mode 100644 index 000000000..8a89660d9 --- /dev/null +++ b/net_util/build.rs @@ -0,0 +1,8 @@ +// Copyright © 2024 Intel Corporation +// +// SPDX-License-Identifier: Apache-2.0 +// + +fn main() { + println!("cargo::rustc-check-cfg=cfg(fuzzing)"); +} diff --git a/virtio-devices/build.rs b/virtio-devices/build.rs new file mode 100644 index 000000000..8a89660d9 --- /dev/null +++ b/virtio-devices/build.rs @@ -0,0 +1,8 @@ +// Copyright © 2024 Intel Corporation +// +// SPDX-License-Identifier: Apache-2.0 +// + +fn main() { + println!("cargo::rustc-check-cfg=cfg(fuzzing)"); +} diff --git a/vmm/build.rs b/vmm/build.rs new file mode 100644 index 000000000..8a89660d9 --- /dev/null +++ b/vmm/build.rs @@ -0,0 +1,8 @@ +// Copyright © 2024 Intel Corporation +// +// SPDX-License-Identifier: Apache-2.0 +// + +fn main() { + println!("cargo::rustc-check-cfg=cfg(fuzzing)"); +}