test: update make functions to use MakeOptions

This commit is contained in:
David Rubin 2024-07-21 03:16:32 -07:00 committed by Andrew Kelley
parent f303c3943f
commit 08cddaf11c

View File

@ -87,7 +87,7 @@ const CheckOutputCaching = struct {
return check;
}
fn make(step: *std.Build.Step, _: std.Progress.Node) !void {
fn make(step: *std.Build.Step, _: std.Build.Step.MakeOptions) !void {
const check: *CheckOutputCaching = @fieldParentPtr("step", step);
for (step.dependencies.items) |dependency| {
@ -125,7 +125,7 @@ const CheckPathEquality = struct {
return check;
}
fn make(step: *std.Build.Step, _: std.Progress.Node) !void {
fn make(step: *std.Build.Step, _: std.Build.Step.MakeOptions) !void {
const check: *CheckPathEquality = @fieldParentPtr("step", step);
std.debug.assert(check.output_paths.len != 0);
for (check.output_paths[0 .. check.output_paths.len - 1], check.output_paths[1..]) |a, b| {