aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
authorAlexander Saltanov <asd@mokote.com>2024-02-06 00:06:19 +0300
committerAlexander Saltanov <asd@mokote.com>2024-02-06 00:06:19 +0300
commit755911747fe9f4833e006421cde7961089533f47 (patch)
tree2bd9819855b221da270ca441803e8932df7400e8 /test
parentfa22e861d5b8b63e0f34934e9a21544ad25b4110 (diff)
Fix zig_exe location in Build struct
Reflect Zig breaking changes as of https://github.com/ziglang/zig/commit/105db13536b4dc2affe130cb8d2eee6c97c89bcd
Diffstat (limited to 'test')
-rw-r--r--test/tests.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tests.zig b/test/tests.zig
index 0a19277..9ab15b3 100644
--- a/test/tests.zig
+++ b/test/tests.zig
@@ -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}),
});