zmath update
This commit is contained in:
parent
385dccd666
commit
22f65c4fb0
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue