Update uses of @fieldParentPtr to use RLS

This commit is contained in:
Jacob Young
2024-03-19 12:46:38 +01:00
parent 17673dcd6e
commit eb723a4070
49 changed files with 494 additions and 539 deletions

View File

@@ -141,7 +141,7 @@ fn maybeUpdateName(wf: *WriteFile) void {
fn make(step: *Step, prog_node: *std.Progress.Node) !void {
_ = prog_node;
const b = step.owner;
const wf = @fieldParentPtr(*WriteFile, "step", step);
const wf: *WriteFile = @fieldParentPtr("step", step);
// Writing to source files is kind of an extra capability of this
// WriteFile - arguably it should be a different step. But anyway here