From 28f9a051e4bde1235288d4abc5828b0183012350 Mon Sep 17 00:00:00 2001 From: CosmicBagel <854116+CosmicBagel@users.noreply.github.com> Date: Wed, 15 May 2024 14:28:24 -0600 Subject: [PATCH] LazyPath.path deprecated in zig 0.12, removed in 0.13 (#89) LazyPath.path deprecated in zig 0.12, removed in 0.13, using b.path() instead Co-authored-by: CosmicBagel <> --- emcc.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emcc.zig b/emcc.zig index 846b9ff..58e4792 100644 --- a/emcc.zig +++ b/emcc.zig @@ -42,7 +42,7 @@ pub fn compileForEmscripten( // The project is built as a library and linked later. const exe_lib = b.addStaticLibrary(.{ .name = name, - .root_source_file = .{ .path = root_source_file }, + .root_source_file = b.path(root_source_file), .target = target, .optimize = optimize, });