From 22f65c4fb0228db29424623a87e298c2f5ef6253 Mon Sep 17 00:00:00 2001 From: peterino2 Date: Mon, 13 Oct 2025 21:32:56 -0700 Subject: [PATCH] zmath update --- lib/zmath/build.zig | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/zmath/build.zig b/lib/zmath/build.zig index c858efc..772156b 100644 --- a/lib/zmath/build.zig +++ b/lib/zmath/build.zig @@ -14,10 +14,12 @@ pub fn build(b: *std.Build) void { const test_step = b.step("test", "runs tests for zmath"); const tests = b.addTest(.{ - .target = target, - .optimize = optimize, - .root_source_file = b.path("zmath.zig"), - .link_libc = true, + .root_module = b.createModule(.{ + .target = target, + .optimize = optimize, + .root_source_file = b.path("zmath.zig"), + .link_libc = true, + }), }); tests.root_module.addImport("zmath", mod);