mirror of
https://github.com/ziglang/zig.git
synced 2026-01-12 10:25:13 +00:00
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.
This commit is contained in:
parent
0733c8c5ca
commit
e0890734f0
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user