mirror of
https://github.com/openai/codex.git
synced 2026-05-23 12:34:25 +00:00
Cleaning up
This commit is contained in:
@@ -6,7 +6,9 @@ await-holding-invalid-types = [
|
||||
"tokio::sync::RwLockWriteGuard",
|
||||
]
|
||||
disallowed-methods = [
|
||||
{ path = "std::process::Command::spawn", reason = "Don't leak processes on Drop.", replacement = "codex_managed_process::CommandExt::spawn_managed" },
|
||||
{ path = "std::process::Command::spawn",
|
||||
reason = "Don't leak processes on Drop.",
|
||||
replacement = "codex_managed_process::CommandExt::spawn_managed" },
|
||||
{ path = "tokio::process::Command::spawn", reason = "Don't leak processes on Drop." },
|
||||
{ path = "portable_pty::SlavePty::spawn_command", reason = "Don't leak processes on Drop." },
|
||||
{ path = "ratatui::style::Color::Rgb", reason = "Use ANSI colors, which work better in various terminal themes." },
|
||||
|
||||
@@ -13,6 +13,7 @@ use std::time::Duration;
|
||||
use std::time::Instant;
|
||||
|
||||
use codex_managed_process::CommandExt;
|
||||
|
||||
const SYSTEM_BWRAP_PROGRAM: &str = "bwrap";
|
||||
const MISSING_BWRAP_WARNING: &str = concat!(
|
||||
"Codex could not find bubblewrap on PATH. ",
|
||||
|
||||
Reference in New Issue
Block a user