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() }