mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
fix missing insertion of module to all_modules on first download
This commit is contained in:
parent
5c6f111379
commit
105078519a
1 changed files with 1 additions and 0 deletions
|
|
@ -582,6 +582,7 @@ fn fetchAndUnpack(
|
|||
});
|
||||
|
||||
const mod = try createWithDir(gpa, global_cache_directory, pkg_dir_sub_path, build_zig_basename);
|
||||
try all_modules.put(gpa, actual_hex, mod);
|
||||
return .{
|
||||
.mod = mod,
|
||||
.found_existing = false,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue