From 10bc4ca7a4b3f14cfb57bf72a6da8aaa1490acf3 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 9 May 2026 16:42:50 +0800 Subject: Add lifecycle hooks to program execution --- mingling_core/src/renderer/render_result.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'mingling_core/src/renderer/render_result.rs') diff --git a/mingling_core/src/renderer/render_result.rs b/mingling_core/src/renderer/render_result.rs index 3bde1ab..2bf159a 100644 --- a/mingling_core/src/renderer/render_result.rs +++ b/mingling_core/src/renderer/render_result.rs @@ -8,6 +8,7 @@ use std::{ #[derive(Default, Debug, PartialEq)] pub struct RenderResult { render_text: String, + pub exit_code: i32, } impl Write for RenderResult { -- cgit