[repo] Fuzz: one libFuzzer target per parser, own workspace, Windows MSVC setup from Via
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// 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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user