This commit is contained in:
jif-oai
2025-12-17 19:10:37 +00:00
parent 459abecf52
commit bd061a6292
2 changed files with 3 additions and 1 deletions

1
codex-rs/Cargo.lock generated
View File

@@ -1879,7 +1879,6 @@ dependencies = [
"anyhow",
"filedescriptor",
"lazy_static",
"libc",
"log",
"portable-pty",
"pretty_assertions",

View File

@@ -280,6 +280,9 @@ fn normalize_cwd_lines(output: &[u8]) -> Vec<String> {
.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<String>, input: &str) -> Vec<String> {
lines.into_iter().filter(|line| line != input).collect()
}