[repo] Fuzz: one libFuzzer target per parser, own workspace, Windows MSVC setup from Via

This commit is contained in:
2026-11-25 12:01:09 +01:00
parent 31d1fc3655
commit 3ade60d0b4
21 changed files with 1006 additions and 0 deletions
+7
View File
@@ -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");
}
}