fixed variable declaration by changing it to a const, since it's never mutated

pull/27/head
Zev Averbach 10 months ago
parent f29c0692d5
commit 063a74c59a

@ -288,7 +288,7 @@ const ZiglingStep = struct {
// Allow up to 1 MB of stdout capture. // Allow up to 1 MB of stdout capture.
const max_output_bytes = 1 * 1024 * 1024; const max_output_bytes = 1 * 1024 * 1024;
var result = Child.run(.{ const result = Child.run(.{
.allocator = b.allocator, .allocator = b.allocator,
.argv = &.{exe_path}, .argv = &.{exe_path},
.cwd = b.build_root.path.?, .cwd = b.build_root.path.?,

Loading…
Cancel
Save