Skip to content

Commit

Permalink
[fix]
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jun 11, 2024
1 parent 0c81f71 commit 4bfa9e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub fn build (builder: *std.Build) !void
{
exe = builder.addExecutable (.{
.name = entry.name,
.root_source_file = .{ .path = try builder.build_root.join (
.root_source_file = .{ .cwd_relative = try builder.build_root.join (
builder.allocator, &.{ entry.name, "main.zig", }), },
.target = target,
.optimize = optimize,
Expand Down

0 comments on commit 4bfa9e5

Please sign in to comment.