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:
parent
b98527d062
commit
28f9a051e4
1 changed files with 1 additions and 1 deletions
2
emcc.zig
2
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,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue