1
0
Fork 0
mirror of https://codeberg.org/ziglings/exercises.git synced 2025-06-08 01:57:02 +09:00

Fix zig_exe location in Build struct

Reflect Zig breaking changes as of 105db13536
This commit is contained in:
Alexander Saltanov 2024-02-06 00:06:19 +03:00
parent fa22e861d5
commit 755911747f
2 changed files with 4 additions and 4 deletions

View file

@ -33,7 +33,7 @@ pub fn addCliTests(b: *std.Build, exercises: []const Exercise) *Step {
const n = ex.number();
const cmd = b.addSystemCommand(&.{
b.zig_exe,
b.graph.zig_exe,
"build",
"-Dhealed",
b.fmt("-Dhealed-path={s}", .{tmp_path}),
@ -69,7 +69,7 @@ pub fn addCliTests(b: *std.Build, exercises: []const Exercise) *Step {
// TODO: when an exercise is modified, the cache is not invalidated.
const cmd = b.addSystemCommand(&.{
b.zig_exe,
b.graph.zig_exe,
"build",
"-Dhealed",
b.fmt("-Dhealed-path={s}", .{tmp_path}),
@ -99,7 +99,7 @@ pub fn addCliTests(b: *std.Build, exercises: []const Exercise) *Step {
const n = ex.number();
const cmd = b.addSystemCommand(&.{
b.zig_exe,
b.graph.zig_exe,
"build",
b.fmt("-Dn={}", .{n}),
});