Fix broken @fieldParentPtr

This commit is contained in:
dan
2024-03-31 19:42:56 +08:00
parent ac4103a733
commit e840119290
2 changed files with 2 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ pub const ShaderCompileStep = struct {
fn make(step: *Build.Step, progress: *std.Progress.Node) !void {
_ = progress;
const b = step.owner;
const self = @fieldParentPtr(ShaderCompileStep, "step", step);
const self: *ShaderCompileStep = @fieldParentPtr("step", step);
const cwd = std.fs.cwd();
var cmd = std.ArrayList([]const u8).init(b.allocator);