Set recursion_limit to 256 for app-server, exec, and TUI (#43519)

GitOrigin-RevId: 62707b30a8a786143739300f307875e615d81acc
This commit is contained in:
jif
2026-09-07 17:09:04 +00:00
committed by copyberry
parent dbe2f6d528
commit b1205c12d5
3 changed files with 4 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
#![recursion_limit = "256"]
use clap::Parser;
use codex_app_server::AppServerCodeModeHostArgs;
use codex_app_server::AppServerRuntimeOptions;
+1
View File
@@ -2,6 +2,7 @@
// stdout is the final message (if any).
// - In --json mode, stdout must be valid JSONL, one event per line.
// For both modes, any other output must be written to stderr.
#![recursion_limit = "256"]
#![deny(clippy::print_stdout)]
mod cli;
+1
View File
@@ -1,6 +1,7 @@
// Forbid accidental stdout/stderr writes in the *library* portion of the TUI.
// The standalone `codex-tui` binary prints a short help message before the
// alternate‑screen mode starts; that file opts‑out locally via `allow`.
#![recursion_limit = "256"]
#![deny(clippy::print_stdout, clippy::print_stderr)]
#![deny(clippy::disallowed_methods)]
use crate::legacy_core::config::Config;