diff options
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,15 +6,15 @@ pub fn build(b: *std.Build) void { const lib = b.addStaticLibrary(.{ .name = "smtp", - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), .target = target, .optimize = optimize, }); b.installArtifact(lib); - _ = b.addModule("smtp", .{ .root_source_file = .{ .path = "src/main.zig" } }); + _ = b.addModule("smtp", .{ .root_source_file = b.path("src/main.zig") }); const main_tests = b.addTest(.{ - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), .target = target, .optimize = optimize, }); |