From 063a74c59adc8fcb2edfbc83e77753875ebfbf73 Mon Sep 17 00:00:00 2001 From: Zev Averbach Date: Tue, 21 Nov 2023 12:00:34 +0100 Subject: [PATCH] fixed variable declaration by changing it to a const, since it's never mutated --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index cdc7d95..1155e24 100644 --- a/build.zig +++ b/build.zig @@ -288,7 +288,7 @@ const ZiglingStep = struct { // Allow up to 1 MB of stdout capture. const max_output_bytes = 1 * 1024 * 1024; - var result = Child.run(.{ + const result = Child.run(.{ .allocator = b.allocator, .argv = &.{exe_path}, .cwd = b.build_root.path.?,