Files
codex/codex-rs/mcp-server/src/main.rs
T
rka-oai 61a44880a8 Raise the MCP server recursion limit (#35414)
## What changed

- Set the Rust recursion limit to 256 for both the MCP server library and binary crates.
- Populate `started_at_ms` in the thread-fork test's completed-item fixture.

GitOrigin-RevId: b25eeaeecaf94265fe3be8f23cb3c395595afc2a
2026-07-26 01:23:38 +00:00

19 lines
455 B
Rust

#![recursion_limit = "256"]
use codex_arg0::Arg0DispatchPaths;
use codex_arg0::arg0_dispatch_or_else;
use codex_mcp_server::run_main;
use codex_utils_cli::CliConfigOverrides;
fn main() -> anyhow::Result<()> {
arg0_dispatch_or_else(|arg0_paths: Arg0DispatchPaths| async move {
run_main(
arg0_paths,
CliConfigOverrides::default(),
/*strict_config*/ false,
)
.await?;
Ok(())
})
}