mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-09-20 14:45:36 +00:00
fix: initial zig build caused by self.step.evalZigProcess()
This commit is contained in:
parent
1f6ce9a268
commit
9bff77a12a
|
@ -519,7 +519,7 @@ const ZiglingStep = struct {
|
||||||
// NOTE: After many changes in zig build system, we need to create the cache path manually.
|
// NOTE: After many changes in zig build system, we need to create the cache path manually.
|
||||||
// See https://github.com/ziglang/zig/pull/21115
|
// See https://github.com/ziglang/zig/pull/21115
|
||||||
// Maybe there is a better way (in the future).
|
// 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) {
|
const exe_name = switch (self.exercise.kind) {
|
||||||
.exe => self.exercise.name(),
|
.exe => self.exercise.name(),
|
||||||
.@"test" => "test",
|
.@"test" => "test",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user