From 17790173f953d34fd0e2c9cd7c8e0c9bf9be4e5f Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Sun, 26 May 2024 14:48:20 +0100 Subject: Changes for latest zig master --- build.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build.zig') diff --git a/build.zig b/build.zig index a5c2c1d..05f7cc3 100644 --- a/build.zig +++ b/build.zig @@ -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, }); -- cgit v1.2.3-ZIG