From 8296c658830a1225c2386e9e3f1e48d262f97248 Mon Sep 17 00:00:00 2001 From: Bo Xie Date: Thu, 9 Jul 2026 22:00:39 -0700 Subject: [PATCH] core: raise recursion limit for release builds --- codex-rs/core/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/codex-rs/core/src/lib.rs b/codex-rs/core/src/lib.rs index 994385150c..8f0e479410 100644 --- a/codex-rs/core/src/lib.rs +++ b/codex-rs/core/src/lib.rs @@ -1,5 +1,6 @@ //! Root of the `codex-core` library. +#![recursion_limit = "256"] // Prevent accidental direct writes to stdout/stderr in library code. All // user-visible output must go through the appropriate abstraction (e.g., // the TUI or the tracing stack).