We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6d67f0 commit dc5e6e0Copy full SHA for dc5e6e0
src/build.zig
@@ -68,7 +68,7 @@ fn srcDir(b: *std.Build) []const u8 {
68
@compileError("Please take a look at this function again");
69
}
70
71
- const src_file = std.fs.path.relative(b.allocator, @src().file, ".") catch @panic("OOM");
+ const src_file = std.fs.path.relative(b.allocator, ".", @src().file) catch @panic("OOM");
72
return std.fs.path.dirname(src_file) orelse ".";
73
74
0 commit comments