mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-02-10 22:24:52 +00:00
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
This commit is contained in:
commit
bfc57ca6bb
|
|
@ -397,9 +397,8 @@ const ZiglingStep = struct {
|
||||||
|
|
||||||
const result = Process.run(b.allocator, io, .{
|
const result = Process.run(b.allocator, io, .{
|
||||||
.argv = &.{exe_path},
|
.argv = &.{exe_path},
|
||||||
.cwd = b.build_root.path.?,
|
.cwd = .{ .path = b.build_root.path.? },
|
||||||
.cwd_dir = b.build_root.handle,
|
.stdout_limit = .limited(max_output_bytes),
|
||||||
.max_output_bytes = max_output_bytes,
|
|
||||||
}) catch |err| {
|
}) catch |err| {
|
||||||
return self.step.fail("unable to spawn {s}: {s}", .{
|
return self.step.fail("unable to spawn {s}: {s}", .{
|
||||||
exe_path, @errorName(err),
|
exe_path, @errorName(err),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user