Update uses of @fieldParentPtr to pass a pointer type

This commit is contained in:
Jacob Young
2024-03-19 12:27:20 +01:00
parent 9b2345e182
commit e409afb79b
30 changed files with 87 additions and 87 deletions

View File

@@ -86,7 +86,7 @@ fn compare_headers(step: *std.Build.Step, prog_node: *std.Progress.Node) !void {
const expected_fmt = "expected_{s}";
for (step.dependencies.items) |config_header_step| {
const config_header = @fieldParentPtr(ConfigHeader, "step", config_header_step);
const config_header = @fieldParentPtr(*ConfigHeader, "step", config_header_step);
const zig_header_path = config_header.output_file.path orelse @panic("Could not locate header file");