mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
std.Build: duplicate sub_path for LazyPath's dependency variant
This commit is contained in:
parent
2aea7a42b0
commit
60a332406c
1 changed files with 4 additions and 1 deletions
|
|
@ -2524,7 +2524,10 @@ pub const LazyPath = union(enum) {
|
|||
.up = gen.up,
|
||||
.sub_path = dupePathInner(allocator, gen.sub_path),
|
||||
} },
|
||||
.dependency => |dep| .{ .dependency = dep },
|
||||
.dependency => |dep| .{ .dependency = .{
|
||||
.dependency = dep.dependency,
|
||||
.sub_path = dupePathInner(allocator, dep.sub_path),
|
||||
} },
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue