From a2c032fe51639d0f295346165acd8c8e9f6b9f74 Mon Sep 17 00:00:00 2001 From: argenis de la rosa Date: Tue, 24 Feb 2026 10:58:17 -0500 Subject: [PATCH] fix(build): add explicit [[bin]] configuration to prevent target inference conflicts This addresses the Windows build issues reported in #1654: - Adds explicit [[bin]] configuration for the zeroclaw binary - Prevents potential silent build failures when src/lib.rs and src/main.rs coexist - The raw string syntax issues in leak_detector.rs and Deserialize imports were already fixed in previous commits Closes #1654 Co-Authored-By: Claude Opus 4.6 --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index b8682a52f..18451854d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -234,6 +234,10 @@ criterion = { version = "0.8", features = ["async_tokio"] } wiremock = "0.6" scopeguard = "1.2" +[[bin]] +name = "zeroclaw" +path = "src/main.rs" + [[bench]] name = "agent_benchmarks" harness = false