From bc647561227d116cfd3967fecdbda19af76eca09 Mon Sep 17 00:00:00 2001 From: Stefan Weigl-Bosker Date: Fri, 18 Oct 2024 15:04:53 -0400 Subject: [PATCH] Update build.zig update build.zig to use std.Build.path instead of depreciated path field --- build.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.zig b/build.zig index d2d2375..81f8f40 100644 --- a/build.zig +++ b/build.zig @@ -11,12 +11,12 @@ pub fn build(b: *std.Build) !void { const exe = b.addExecutable(.{ .name = "avr-arduino-zig", - .root_source_file = .{ .path = "src/start.zig" }, + .root_source_file = b.path("src/start.zig"), .target = b.resolveTargetQuery(uno), .optimize = .ReleaseSafe, }); - exe.setLinkerScriptPath(.{ .path = "src/linker.ld" }); + exe.setLinkerScriptPath(b.path("src/linker.ld")}); b.installArtifact(exe);