aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step/InstallFile.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2024-03-19 12:46:38 +0100
committerJacob Young <jacobly0@users.noreply.github.com>2024-03-30 20:50:48 -0400
commiteb723a407073592db858cf14bece8643bec2a771 (patch)
tree504be71818a397d2b8ce07aa26718b5c7a5b7ef5 /lib/std/Build/Step/InstallFile.zig
parent17673dcd6e3ffeb25fc9dc1cfc72334ab4e71b37 (diff)
downloadzig-eb723a407073592db858cf14bece8643bec2a771.tar.gz
zig-eb723a407073592db858cf14bece8643bec2a771.zip
Update uses of `@fieldParentPtr` to use RLS
Diffstat (limited to 'lib/std/Build/Step/InstallFile.zig')
-rw-r--r--lib/std/Build/Step/InstallFile.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Build/Step/InstallFile.zig b/lib/std/Build/Step/InstallFile.zig
index 0c61572f5c..ca5a986fd1 100644
--- a/lib/std/Build/Step/InstallFile.zig
+++ b/lib/std/Build/Step/InstallFile.zig
@@ -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);