diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2026-02-04 10:28:34 +0100 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2026-02-04 10:28:34 +0100 |
| commit | bfc57ca6bb7ea772ff484d8c617d24b710cec28c (patch) | |
| tree | d15be9d03309a952f7c84af83420596e64f5f3be /build.zig | |
| parent | 0ceb0df875ec471268b72946109e7f696766fd1b (diff) | |
| parent | 6fe9625899a1f1c4a0fc13133fdaf76bfac9a02b (diff) | |
Merge pull request 'fix: std.process.RunOptions fields changed (used in build.zig)' (#358) from tadakuso/ziglings:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/358
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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), |
