14 lines
268 B
Rust
14 lines
268 B
Rust
mod host_specific {
|
|
#[cfg(target_os = "linux")]
|
|
include!("build_linux.rs");
|
|
|
|
#[cfg(not(target_os = "linux"))]
|
|
pub fn build() {
|
|
println!("cargo:warning=libafl_qemu only builds on Linux hosts");
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
host_specific::build();
|
|
}
|