zmath update

This commit is contained in:
peterino2 2025-10-13 21:32:56 -07:00
parent 385dccd666
commit 22f65c4fb0
1 changed files with 6 additions and 4 deletions

10
lib/zmath/build.zig vendored
View File

@ -14,10 +14,12 @@ pub fn build(b: *std.Build) void {
const test_step = b.step("test", "runs tests for zmath"); const test_step = b.step("test", "runs tests for zmath");
const tests = b.addTest(.{ const tests = b.addTest(.{
.target = target, .root_module = b.createModule(.{
.optimize = optimize, .target = target,
.root_source_file = b.path("zmath.zig"), .optimize = optimize,
.link_libc = true, .root_source_file = b.path("zmath.zig"),
.link_libc = true,
}),
}); });
tests.root_module.addImport("zmath", mod); tests.root_module.addImport("zmath", mod);