Files
DomiStream/fuzz/build.rs

8 lines
307 B
Rust

// Windows only: give the coverage counters their section bounds (see win_sections.c).
fn main() {
println!("cargo:rerun-if-changed=win_sections.c");
if std::env::var("CARGO_CFG_TARGET_ENV").as_deref() == Ok("msvc") {
cc::Build::new().file("win_sections.c").compile("win_sections");
}
}