Commit 9903587a63
Changed files (1)
lib
std
Build
Step
lib/std/Build/Step/Options.zig
@@ -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");