summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authortadakuso <tadakuso@tada-linux.chan>2026-02-04 08:16:11 +0800
committertadakuso <tadakuso@tada-linux.chan>2026-02-04 08:16:11 +0800
commit6fe9625899a1f1c4a0fc13133fdaf76bfac9a02b (patch)
treed15be9d03309a952f7c84af83420596e64f5f3be /build.zig
parent0ceb0df875ec471268b72946109e7f696766fd1b (diff)
fix: std.process.RunOptions fields changed (used in build.zig)
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig5
1 files changed, 2 insertions, 3 deletions
diff --git a/build.zig b/build.zig
index be323c9..6337715 100644
--- a/build.zig
+++ b/build.zig
@@ -397,9 +397,8 @@ const ZiglingStep = struct {
const result = Process.run(b.allocator, io, .{
.argv = &.{exe_path},
- .cwd = b.build_root.path.?,
- .cwd_dir = b.build_root.handle,
- .max_output_bytes = max_output_bytes,
+ .cwd = .{ .path = b.build_root.path.? },
+ .stdout_limit = .limited(max_output_bytes),
}) catch |err| {
return self.step.fail("unable to spawn {s}: {s}", .{
exe_path, @errorName(err),