mirror of
https://github.com/openai/codex.git
synced 2026-10-21 03:24:00 +00:00
Set recursion_limit to 256 for app-server, exec, and TUI (#43519)
GitOrigin-RevId: 62707b30a8a786143739300f307875e615d81acc
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#![recursion_limit = "256"]
|
||||
|
||||
use clap::Parser;
|
||||
use codex_app_server::AppServerCodeModeHostArgs;
|
||||
use codex_app_server::AppServerRuntimeOptions;
|
||||
|
||||
@@ -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,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;
|
||||
|
||||
Reference in New Issue
Block a user