mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
Fix first-time package fetches
Closes #19557 Closes #19561 Previously, `build.zig` was not being detected correctly by `computeHash` for packages where there is a containing root directory.
This commit is contained in:
parent
96bc8f17cf
commit
129de47a71
@ -1447,7 +1447,7 @@ fn computeHash(
|
||||
)),
|
||||
};
|
||||
|
||||
if (std.mem.eql(u8, entry.path, Package.build_zig_basename))
|
||||
if (std.mem.eql(u8, entry_pkg_path, Package.build_zig_basename))
|
||||
f.has_build_zig = true;
|
||||
|
||||
const fs_path = try arena.dupe(u8, entry.path);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user