瀏覽代碼

build.zig: Clean up my mess (#4387)

pull/4397/head
Sage Hane 9 月之前
committed by GitHub
父節點
當前提交
dc5e6e0ad0
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: B5690EEEBB952194
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/build.zig

+ 1
- 1
src/build.zig 查看文件

@ -68,7 +68,7 @@ fn srcDir(b: *std.Build) []const u8 {
@compileError("Please take a look at this function again");
}
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");
return std.fs.path.dirname(src_file) orelse ".";
}

Loading…
取消
儲存