| ... | @@ -415,7 +415,8 @@ pub fn addOptionPath( | ... | @@ -415,7 +415,8 @@ pub fn addOptionPath( |
| 415 | name: []const u8, | 415 | name: []const u8, |
| 416 | path: LazyPath, | 416 | path: LazyPath, |
| 417 | ) void { | 417 | ) void { |
| 418 | options.args.append(.{ | 418 | const arena = options.step.owner.allocator; |
| | 419 | options.args.append(arena, .{ |
| 419 | .name = options.step.owner.dupe(name), | 420 | .name = options.step.owner.dupe(name), |
| 420 | .path = path.dupe(options.step.owner), | 421 | .path = path.dupe(options.step.owner), |
| 421 | }) catch @panic("OOM"); | 422 | }) catch @panic("OOM"); |