diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2024-03-19 12:46:38 +0100 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2024-03-30 20:50:48 -0400 |
| commit | eb723a407073592db858cf14bece8643bec2a771 (patch) | |
| tree | 504be71818a397d2b8ce07aa26718b5c7a5b7ef5 /lib/std/Build/Step/CheckFile.zig | |
| parent | 17673dcd6e3ffeb25fc9dc1cfc72334ab4e71b37 (diff) | |
| download | zig-eb723a407073592db858cf14bece8643bec2a771.tar.gz zig-eb723a407073592db858cf14bece8643bec2a771.zip | |
Update uses of `@fieldParentPtr` to use RLS
Diffstat (limited to 'lib/std/Build/Step/CheckFile.zig')
| -rw-r--r-- | lib/std/Build/Step/CheckFile.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Build/Step/CheckFile.zig b/lib/std/Build/Step/CheckFile.zig index 9dfb94a67d..19d697a3b6 100644 --- a/lib/std/Build/Step/CheckFile.zig +++ b/lib/std/Build/Step/CheckFile.zig @@ -49,7 +49,7 @@ pub fn setName(self: *CheckFile, name: []const u8) void { fn make(step: *Step, prog_node: *std.Progress.Node) !void { _ = prog_node; const b = step.owner; - const self = @fieldParentPtr(*CheckFile, "step", step); + const self: *CheckFile = @fieldParentPtr("step", step); const src_path = self.source.getPath(b); const contents = fs.cwd().readFileAlloc(b.allocator, src_path, self.max_bytes) catch |err| { |
