Commit e0890734f0

Andrew Kelley <andrew@ziglang.org>
2023-04-14 20:59:27
std.Build.CompileStep: fix installLibraryHeaders regression
reverts regression introduced in d2ad3f5074877475c8f0ec0fbbb323a05fe8cf78. The commit correctly removed dest_builder from InstallArtifactStep, but the change to installLibraryHeaders was incorrect since it affected different steps than that one.
1 parent 0733c8c
Changed files (1)
lib
std
lib/std/Build/CompileStep.zig
@@ -511,7 +511,7 @@ pub fn installLibraryHeaders(cs: *CompileStep, l: *CompileStep) void {
                 const T = id.Type();
                 const ptr = b.allocator.create(T) catch @panic("OOM");
                 ptr.* = step.cast(T).?.*;
-                ptr.step.owner = b;
+                ptr.dest_builder = b;
                 break :blk &ptr.step;
             },
             else => unreachable,