File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,11 @@ pub fn build(b: *std.Build) void {
34
34
35
35
const tests = b .addTest (.{
36
36
.name = "zmath-tests" ,
37
- .root_source_file = b .path ("src/root.zig" ),
38
- .target = target ,
39
- .optimize = options .optimize ,
37
+ .root_module = b .createModule (.{
38
+ .root_source_file = b .path ("src/root.zig" ),
39
+ .target = target ,
40
+ .optimize = options .optimize ,
41
+ }),
40
42
});
41
43
b .installArtifact (tests );
42
44
@@ -48,9 +50,11 @@ pub fn build(b: *std.Build) void {
48
50
49
51
const benchmarks = b .addExecutable (.{
50
52
.name = "zmath-benchmarks" ,
51
- .root_source_file = b .path ("src/benchmark.zig" ),
52
- .target = target ,
53
- .optimize = options .optimize ,
53
+ .root_module = b .createModule (.{
54
+ .root_source_file = b .path ("src/benchmark.zig" ),
55
+ .target = target ,
56
+ .optimize = options .optimize ,
57
+ }),
54
58
});
55
59
b .installArtifact (benchmarks );
56
60
Original file line number Diff line number Diff line change 2
2
.name = .zmath ,
3
3
.fingerprint = 0xfd23d422bd223cc2 ,
4
4
.version = "0.11.0-dev" ,
5
- .minimum_zig_version = "0.14.0 " ,
5
+ .minimum_zig_version = "0.14.1 " ,
6
6
.paths = .{
7
7
"build.zig" ,
8
8
"build.zig.zon" ,
You can’t perform that action at this time.
0 commit comments