From a2abd9d42d9a5a603ac1332ad2680f3b7dd05e13 Mon Sep 17 00:00:00 2001 From: kayomn Date: Tue, 25 Oct 2022 00:39:43 +0100 Subject: [PATCH] Fix tests not depending on core lib module --- build.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/build.zig b/build.zig index ce64b2f..5cfee8e 100644 --- a/build.zig +++ b/build.zig @@ -36,6 +36,7 @@ pub fn build(builder: *std.build.Builder) void { { const tests = builder.addTestExe("test", "./src/tests.zig"); + tests.addPackage(core_pkg); tests.setTarget(target); tests.setBuildMode(mode); builder.step("test", "Run unit tests").dependOn(&tests.step);