mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-09-20 14:45:36 +00:00
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:
commit
711cb70c5a
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user