authorgravatar for david@vortan.devDavid Rubin <david@vortan.dev> 2024-07-21 03:16:32-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-07-21 11:22:14-07:00
log08cddaf11c7bac5fba2e696ed6b99d1f7b730543
tree33baf622feed206eca6144b5b74418866a3d3b44
parentf303c3943f188b76c6d2566bd65429a8b60e8a59

test: update `make` functions to use `MakeOptions`


1 files changed, 2 insertions(+), 2 deletions(-)

test/standalone/run_output_caching/build.zig+2-2
...@@ -87,7 +87,7 @@ const CheckOutputCaching = struct {...@@ -87,7 +87,7 @@ const CheckOutputCaching = struct {
87 return check;87 return check;
88 }88 }
8989
90 fn make(step: *std.Build.Step, _: std.Progress.Node) !void {90 fn make(step: *std.Build.Step, _: std.Build.Step.MakeOptions) !void {
91 const check: *CheckOutputCaching = @fieldParentPtr("step", step);91 const check: *CheckOutputCaching = @fieldParentPtr("step", step);
9292
93 for (step.dependencies.items) |dependency| {93 for (step.dependencies.items) |dependency| {
...@@ -125,7 +125,7 @@ const CheckPathEquality = struct {...@@ -125,7 +125,7 @@ const CheckPathEquality = struct {
125 return check;125 return check;
126 }126 }
127127
128 fn make(step: *std.Build.Step, _: std.Progress.Node) !void {128 fn make(step: *std.Build.Step, _: std.Build.Step.MakeOptions) !void {
129 const check: *CheckPathEquality = @fieldParentPtr("step", step);129 const check: *CheckPathEquality = @fieldParentPtr("step", step);
130 std.debug.assert(check.output_paths.len != 0);130 std.debug.assert(check.output_paths.len != 0);
131 for (check.output_paths[0 .. check.output_paths.len - 1], check.output_paths[1..]) |a, b| {131 for (check.output_paths[0 .. check.output_paths.len - 1], check.output_paths[1..]) |a, b| {