mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
std.Build.Step.Options: fix build failure
This commit is contained in:
parent
fd7feed04b
commit
9903587a63
1 changed files with 2 additions and 1 deletions
|
|
@ -415,7 +415,8 @@ pub fn addOptionPath(
|
|||
name: []const u8,
|
||||
path: LazyPath,
|
||||
) void {
|
||||
options.args.append(.{
|
||||
const arena = options.step.owner.allocator;
|
||||
options.args.append(arena, .{
|
||||
.name = options.step.owner.dupe(name),
|
||||
.path = path.dupe(options.step.owner),
|
||||
}) catch @panic("OOM");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue