Browse Source

Merge pull request 'Fix: The initial zig build fail due to wrong number of arguments passed in self.step.evalZigProcess()' (#286) from DoKoB/exercises:fix/initial-zig-build into main

Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/286
Chris Boesch 1 week ago
parent
commit
711cb70c5a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build.zig

+ 1 - 1
build.zig

@@ -519,7 +519,7 @@ const ZiglingStep = struct {
         // NOTE: After many changes in zig build system, we need to create the cache path manually.
         // See https://github.com/ziglang/zig/pull/21115
         // Maybe there is a better way (in the future).
-        const exe_dir = try self.step.evalZigProcess(zig_args.items, prog_node, false);
+        const exe_dir = try self.step.evalZigProcess(zig_args.items, prog_node, false, null, b.allocator);
         const exe_name = switch (self.exercise.kind) {
             .exe => self.exercise.name(),
             .@"test" => "test",