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 <>
This commit is contained in:
CosmicBagel 2024-05-15 14:28:24 -06:00 committed by GitHub
parent b98527d062
commit 28f9a051e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,
});