core: raise downstream release recursion limits

This commit is contained in:
Bo Xie
2026-07-09 22:21:36 -07:00
parent de1bb7185e
commit f192395037
3 changed files with 4 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
#![recursion_limit = "256"]
use clap::Args;
use clap::CommandFactory;
use clap::Parser;
+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;