File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ pub fn build(b: *std.Build) void {
11
11
//----------------------------------------
12
12
// define ZTS module
13
13
const datastor_module = b .addModule ("zts" , .{
14
- .root_source_file = .{ . path = "src/zts.zig" } ,
14
+ .root_source_file = b . path ( "src/zts.zig" ) ,
15
15
});
16
16
17
17
//----------------------------------------
18
18
// benchmark demo app
19
19
const exe = b .addExecutable (.{
20
20
.name = "ZTS demo app" ,
21
- .root_source_file = .{ . path = "src/bench.zig" } ,
21
+ .root_source_file = b . path ( "src/bench.zig" ) ,
22
22
.target = target ,
23
23
.optimize = optimize ,
24
24
});
@@ -37,7 +37,7 @@ pub fn build(b: *std.Build) void {
37
37
// unit tests
38
38
const test_step = b .step ("test" , "Run unit tests (redirect stdout to /dev/null)" );
39
39
const unit_tests = b .addTest (.{
40
- .root_source_file = .{ . path = "src/zts.zig" } ,
40
+ .root_source_file = b . path ( "src/zts.zig" ) ,
41
41
.target = target ,
42
42
});
43
43
You can’t perform that action at this time.
0 commit comments