Update uses of @fieldParentPtr to pass a pointer type
This commit is contained in:
@@ -28,7 +28,7 @@ fn make(step: *Step, prog_node: *std.Progress.Node) !void {
|
||||
_ = prog_node;
|
||||
|
||||
const b = step.owner;
|
||||
const self = @fieldParentPtr(RemoveDir, "step", step);
|
||||
const self = @fieldParentPtr(*RemoveDir, "step", step);
|
||||
|
||||
b.build_root.handle.deleteTree(self.dir_path) catch |err| {
|
||||
if (b.build_root.path) |base| {
|
||||
|
||||
Reference in New Issue
Block a user