aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorZev Averbach <[email protected]>2023-11-21 12:00:34 +0100
committerZev Averbach <[email protected]>2023-11-21 12:00:34 +0100
commit063a74c59adc8fcb2edfbc83e77753875ebfbf73 (patch)
treeb9d6318226d9709ef5ca4cb609fa2195a9390ec6 /build.zig
parentf29c0692d512d16a42081265aab4939d1891a890 (diff)
downloadziglings-063a74c59adc8fcb2edfbc83e77753875ebfbf73.tar.xz
ziglings-063a74c59adc8fcb2edfbc83e77753875ebfbf73.zip
fixed variable declaration by changing it to a const, since it's never mutated
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig2
1 files changed, 1 insertions, 1 deletions
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.?,