aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step/InstallDir.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2024-03-19 12:27:20 +0100
committerJacob Young <jacobly0@users.noreply.github.com>2024-03-30 20:50:48 -0400
commite409afb79bcadeabd2d5d4cc3cd5dcc54a964e94 (patch)
treed09f9cc93ce8c44e5769e9124a0bd488a257345e /lib/std/Build/Step/InstallDir.zig
parent9b2345e182090e2f4c57e7684ec9739f195fdb1d (diff)
downloadzig-e409afb79bcadeabd2d5d4cc3cd5dcc54a964e94.tar.gz
zig-e409afb79bcadeabd2d5d4cc3cd5dcc54a964e94.zip
Update uses of `@fieldParentPtr` to pass a pointer type
Diffstat (limited to 'lib/std/Build/Step/InstallDir.zig')
-rw-r--r--lib/std/Build/Step/InstallDir.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Build/Step/InstallDir.zig b/lib/std/Build/Step/InstallDir.zig
index 7472dba2a7..ce71b3773c 100644
--- a/lib/std/Build/Step/InstallDir.zig
+++ b/lib/std/Build/Step/InstallDir.zig
@@ -63,7 +63,7 @@ pub fn create(owner: *std.Build, options: Options) *InstallDirStep {
fn make(step: *Step, prog_node: *std.Progress.Node) !void {
_ = prog_node;
- const self = @fieldParentPtr(InstallDirStep, "step", step);
+ const self = @fieldParentPtr(*InstallDirStep, "step", step);
const dest_builder = self.dest_builder;
const arena = dest_builder.allocator;
const dest_prefix = dest_builder.getInstallPath(self.options.install_dir, self.options.install_subdir);