Fix invalid call to dupePkg in build.zig
parent
919dcc5104
commit
29c580304b
|
@ -1843,7 +1843,7 @@ pub const LibExeObjStep = struct {
|
|||
}
|
||||
|
||||
pub fn addPackage(self: *LibExeObjStep, package: Pkg) void {
|
||||
self.packages.append(self.dupePkg(package)) catch unreachable;
|
||||
self.packages.append(self.builder.dupePkg(package)) catch unreachable;
|
||||
}
|
||||
|
||||
pub fn addPackagePath(self: *LibExeObjStep, name: []const u8, pkg_index_path: []const u8) void {
|
||||
|
|
Loading…
Reference in New Issue