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

@@ -167,7 +167,7 @@ fn putValue(self: *ConfigHeader, field_name: []const u8, comptime T: type, v: T)
fn make(step: *Step, prog_node: *std.Progress.Node) !void {
_ = prog_node;
const b = step.owner;
const self = @fieldParentPtr(*ConfigHeader, "step", step);
const self: *ConfigHeader = @fieldParentPtr("step", step);
const gpa = b.allocator;
const arena = b.allocator;