From 6fe9625899a1f1c4a0fc13133fdaf76bfac9a02b Mon Sep 17 00:00:00 2001 From: tadakuso Date: Wed, 4 Feb 2026 08:16:11 +0800 Subject: [PATCH] fix: std.process.RunOptions fields changed (used in build.zig) --- build.zig | 5 ++--- 1 file 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),