From 44c04733c7c0fee3db83672aaaaf4ed03e943156 Mon Sep 17 00:00:00 2001 From: fjebaker Date: Fri, 10 Jan 2025 09:41:35 +0000 Subject: [PATCH] fix: make build compatible with zig 0.14.0-dev.1671+085cc54aa --- build.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 29625a1..ec5ad6b 100644 --- a/build.zig +++ b/build.zig @@ -14,7 +14,9 @@ pub fn build(b: *std.Build) void { ); const lib_unit_tests = b.addTest(.{ - .root_module = mod, + .root_source_file = b.path("src/root.zig"), + .target = target, + .optimize = optimize, }); const run_lib_unit_tests = b.addRunArtifact(lib_unit_tests);