| author | |
| committer | |
| log | 7d63e777a49cbd6a906faa80bcde41346ad70546 |
| tree | 4d32a4469a37b8a8074cf23e5017017d43599b77 |
| parent | 6002514b72cb2a571abc6ac4ac7fbec44d6302b1 |
closes #244211 files changed, 1 insertions(+), 0 deletions(-)
lib/std/Build/Cache.zig+1| ... | ... | @@ -419,6 +419,7 @@ pub const Manifest = struct { |
| 419 | 419 | fn addFileInner(self: *Manifest, prefixed_path: PrefixedPath, handle: ?fs.File, max_file_size: ?usize) usize { |
| 420 | 420 | const gop = self.files.getOrPutAssumeCapacityAdapted(prefixed_path, FilesAdapter{}); |
| 421 | 421 | if (gop.found_existing) { |
| 422 | self.cache.gpa.free(prefixed_path.sub_path); | |
| 422 | 423 | gop.key_ptr.updateMaxSize(max_file_size); |
| 423 | 424 | gop.key_ptr.updateHandle(handle); |
| 424 | 425 | return gop.index; |