Skip to content

Commit 906d618

Browse files
henrypark133claude
andauthored
fix: add type annotation for Vec<String> to fix Windows build (#452)
The compiler cannot infer the element type of `conflicts` on Windows because all `push` calls are inside `#[cfg(unix)]` blocks which don't compile on Windows. Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 parent 4a7339f commit 906d618

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/setup/channels.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ async fn setup_tunnel_cloudflare() -> Result<TunnelSettings, ChannelSetupError>
566566
/// Detect running cloudflared processes or managed services that could conflict
567567
/// with IronClaw's tunnel management.
568568
fn detect_existing_cloudflared() -> Option<String> {
569-
let mut conflicts = Vec::new();
569+
let mut conflicts: Vec<String> = Vec::new();
570570

571571
// Check for running cloudflared processes (all platforms)
572572
#[cfg(unix)]

0 commit comments

Comments
 (0)