Commit 9903587a63

Andrew Kelley <andrew@ziglang.org>
2025-07-07 04:14:13
std.Build.Step.Options: fix build failure
1 parent fd7feed
Changed files (1)
lib
std
Build
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");