diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 02a51df..a20290a 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -12,6 +12,8 @@ # -Clink-arg=/include:main" \ # cargo build --release --target x86_64-pc-windows-msvc --bin # target/x86_64-pc-windows-msvc/release/.exe -max_total_time=600 corpus/ +# A plain `cargo build` here does not link on Windows (LNK1561: libFuzzer's `main` needs `/include:main`); use the +# RUSTFLAGS above. Checked 2026-11-25: enet_datagram built this way ran 12,183,242 inputs in 11 s. # corpus/ and artifacts/ stay out of git. Never set CARGO_TARGET_DIR. [package]