| author | |
| committer | |
| log | 129de47a71b954b1118ce188f7032ad726491f53 |
| tree | bf2333ce26170306cdfa354b4a1dbce89eff608f |
| parent | 96bc8f17cf1dd40e5f9ab83554a08687f45f28e8 |
Closes #19557
Closes #19561
Previously, `build.zig` was not being detected correctly by
`computeHash` for packages where there is a containing root directory.1 files changed, 1 insertions(+), 1 deletions(-)
src/Package/Fetch.zig+1-1| ... | @@ -1447,7 +1447,7 @@ fn computeHash( | ... | @@ -1447,7 +1447,7 @@ fn computeHash( |
| 1447 | )), | 1447 | )), |
| 1448 | }; | 1448 | }; |
| 1449 | 1449 | ||
| 1450 | if (std.mem.eql(u8, entry.path, Package.build_zig_basename)) | 1450 | if (std.mem.eql(u8, entry_pkg_path, Package.build_zig_basename)) |
| 1451 | f.has_build_zig = true; | 1451 | f.has_build_zig = true; |
| 1452 | 1452 | ||
| 1453 | const fs_path = try arena.dupe(u8, entry.path); | 1453 | const fs_path = try arena.dupe(u8, entry.path); |