mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
std.Build.Step.Options: fix build failure
This commit is contained in:
parent
fd7feed04b
commit
9903587a63
@ -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…
x
Reference in New Issue
Block a user