Skip to content

Commit dc5e6e0

Browse files
authored
build.zig: Clean up my mess (#4387)
1 parent c6d67f0 commit dc5e6e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fn srcDir(b: *std.Build) []const u8 {
6868
@compileError("Please take a look at this function again");
6969
}
7070

71-
const src_file = std.fs.path.relative(b.allocator, @src().file, ".") catch @panic("OOM");
71+
const src_file = std.fs.path.relative(b.allocator, ".", @src().file) catch @panic("OOM");
7272
return std.fs.path.dirname(src_file) orelse ".";
7373
}
7474

0 commit comments

Comments
 (0)