From 366d0738a491ac3dcaff6d57a57523b5129444b4 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Fri, 22 Aug 2025 19:35:02 -0700 Subject: [PATCH] rust --- codex-rs/core/src/exec.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/core/src/exec.rs b/codex-rs/core/src/exec.rs index 9ed488098c..e90e9061e2 100644 --- a/codex-rs/core/src/exec.rs +++ b/codex-rs/core/src/exec.rs @@ -184,7 +184,7 @@ pub struct StreamOutput { pub truncated_after_lines: Option, } #[derive(Debug)] -pub struct RawExecToolCallOutput { +struct RawExecToolCallOutput { pub exit_status: ExitStatus, pub stdout: StreamOutput>, pub stderr: StreamOutput>, @@ -255,7 +255,7 @@ async fn exec( /// Consumes the output of a child process, truncating it so it is suitable for /// use as the output of a `shell` tool call. Also enforces specified timeout. -pub(crate) async fn consume_truncated_output( +async fn consume_truncated_output( mut child: Child, timeout: Duration, stdout_stream: Option,