Skip to content

Commit

Permalink
zig 0.12: ChildProcess exec is renamed in run
Browse files Browse the repository at this point in the history
Relates to ziglang/zig#5853
  • Loading branch information
krichprollsch committed Dec 4, 2023
1 parent cf28780 commit b0611bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ pub const GetV8SourceStep = struct {
try step.handleChildProcUnsupported(cwd, args.items);
try Step.handleVerbose(step.owner, cwd, args.items);

const result = std.ChildProcess.exec(.{
const result = std.ChildProcess.run(.{
.cwd = cwd,
.allocator = arena,
.argv = args.items,
Expand Down Expand Up @@ -665,7 +665,7 @@ pub const GetV8SourceStep = struct {

// Get DEPS in json.
const argv = &.{ "python3", "tools/parse_deps.py", "v8/DEPS" };
const result = std.ChildProcess.exec(.{
const result = std.ChildProcess.run(.{
.allocator = step.owner.allocator,
.argv = argv,
}) catch |err| return step.fail("unable to spawn {s}: {s}", .{ argv[0], @errorName(err) });
Expand Down

0 comments on commit b0611bc

Please sign in to comment.