diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2024-03-19 12:27:20 +0100 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2024-03-30 20:50:48 -0400 |
| commit | e409afb79bcadeabd2d5d4cc3cd5dcc54a964e94 (patch) | |
| tree | d09f9cc93ce8c44e5769e9124a0bd488a257345e /lib/std/Build/Step/Compile.zig | |
| parent | 9b2345e182090e2f4c57e7684ec9739f195fdb1d (diff) | |
| download | zig-e409afb79bcadeabd2d5d4cc3cd5dcc54a964e94.tar.gz zig-e409afb79bcadeabd2d5d4cc3cd5dcc54a964e94.zip | |
Update uses of `@fieldParentPtr` to pass a pointer type
Diffstat (limited to 'lib/std/Build/Step/Compile.zig')
| -rw-r--r-- | lib/std/Build/Step/Compile.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Build/Step/Compile.zig b/lib/std/Build/Step/Compile.zig index 9c1354fd30..f3182b0258 100644 --- a/lib/std/Build/Step/Compile.zig +++ b/lib/std/Build/Step/Compile.zig @@ -918,7 +918,7 @@ fn getGeneratedFilePath(self: *Compile, comptime tag_name: []const u8, asking_st fn make(step: *Step, prog_node: *std.Progress.Node) !void { const b = step.owner; const arena = b.allocator; - const self = @fieldParentPtr(Compile, "step", step); + const self = @fieldParentPtr(*Compile, "step", step); var zig_args = ArrayList([]const u8).init(arena); defer zig_args.deinit(); |
