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

@@ -43,7 +43,7 @@ pub fn create(
fn make(step: *Step, prog_node: *std.Progress.Node) !void {
_ = prog_node;
const src_builder = step.owner;
const self = @fieldParentPtr(*InstallFile, "step", step);
const self: *InstallFile = @fieldParentPtr("step", step);
const dest_builder = self.dest_builder;
const full_src_path = self.source.getPath2(src_builder, step);
const full_dest_path = dest_builder.getInstallPath(self.dir, self.dest_rel_path);