Fixed the changes from reworking std.Progress.

For details: https://github.com/ziglang/zig/pull/20059
This commit is contained in:
Chris Boesch
2024-05-29 21:20:28 +02:00
parent 776316e60b
commit b224ed510e
3 changed files with 11 additions and 10 deletions

View File

@@ -150,7 +150,7 @@ const CheckNamedStep = struct {
return self;
}
fn make(step: *Step, _: *std.Progress.Node) !void {
fn make(step: *Step, _: std.Progress.Node) !void {
const b = step.owner;
const self: *CheckNamedStep = @alignCast(@fieldParentPtr("step", step));
const ex = self.exercise;
@@ -202,7 +202,7 @@ const CheckStep = struct {
return self;
}
fn make(step: *Step, _: *std.Progress.Node) !void {
fn make(step: *Step, _: std.Progress.Node) !void {
const b = step.owner;
const self: *CheckStep = @alignCast(@fieldParentPtr("step", step));
const exercises = self.exercises;
@@ -325,7 +325,7 @@ const FailStep = struct {
return self;
}
fn make(step: *Step, _: *std.Progress.Node) !void {
fn make(step: *Step, _: std.Progress.Node) !void {
const b = step.owner;
const self: *FailStep = @alignCast(@fieldParentPtr("step", step));
@@ -368,7 +368,7 @@ const HealStep = struct {
return self;
}
fn make(step: *Step, _: *std.Progress.Node) !void {
fn make(step: *Step, _: std.Progress.Node) !void {
const b = step.owner;
const self: *HealStep = @alignCast(@fieldParentPtr("step", step));