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
This commit is contained in:
Chris Boesch 2025-08-08 20:21:11 +02:00
commit 711cb70c5a

View File

@ -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",