From bd061a62920acc13ea4d1701e5d064bbf3fde170 Mon Sep 17 00:00:00 2001 From: jif-oai Date: Wed, 17 Dec 2025 19:10:37 +0000 Subject: [PATCH] clippy --- codex-rs/Cargo.lock | 1 - codex-rs/utils/pty/src/tests.rs | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/codex-rs/Cargo.lock b/codex-rs/Cargo.lock index c541ec583a..d54ddaae29 100644 --- a/codex-rs/Cargo.lock +++ b/codex-rs/Cargo.lock @@ -1879,7 +1879,6 @@ dependencies = [ "anyhow", "filedescriptor", "lazy_static", - "libc", "log", "portable-pty", "pretty_assertions", diff --git a/codex-rs/utils/pty/src/tests.rs b/codex-rs/utils/pty/src/tests.rs index 0684fa9faa..b06f996b73 100644 --- a/codex-rs/utils/pty/src/tests.rs +++ b/codex-rs/utils/pty/src/tests.rs @@ -280,6 +280,9 @@ fn normalize_cwd_lines(output: &[u8]) -> Vec { .collect() } +// This is not dead code but this is not used on Windows, and we still want compiles check +// everywhere. +#[allow(dead_code)] fn strip_echoed_input(lines: Vec, input: &str) -> Vec { lines.into_iter().filter(|line| line != input).collect() }