From dd072186cab9aa52c02edda679377acdc0f80622 Mon Sep 17 00:00:00 2001 From: Kamen Mladenov Date: Fri, 2 May 2025 15:26:40 +0300 Subject: fix(zkvms_guest_io): Print a string above the command log Thus, if a user sees "Command log" in their output, they'll be able to easily find where in the codebase the log is outputted. --- zkvms_guest_io/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/zkvms_guest_io/src/main.rs b/zkvms_guest_io/src/main.rs index 4dfd1ae..e44245e 100644 --- a/zkvms_guest_io/src/main.rs +++ b/zkvms_guest_io/src/main.rs @@ -193,6 +193,7 @@ fn main() { if get_runexec_value(&stdout, "returnvalue", '\n') != "0" { run[operation] = Null; if let Some(log) = read_to_string(COMMAND_LOG_PATH).ok() { + println!("Command log:"); println!("{log}"); } continue; -- cgit v1.2.3