| ... | ... | @@ -914,9 +914,8 @@ pub const Manifest = struct { |
| 914 | 914 | m.hash.hasher = hasher_init; |
| 915 | 915 | m.hash.hasher.update(input_digest); |
| 916 | 916 | |
| 917 | | for (m.files.keys(), 0..) |off, i| { |
| 917 | for (m.files.keys()) |off| { |
| 918 | 918 | const file = off.get(contents); |
| 919 | | log.warn("hashing {d} {s} = {x}", .{ i, off.path(contents), &file.digest }); |
| 920 | 919 | m.hash.hasher.update(&file.digest); |
| 921 | 920 | } |
| 922 | 921 | } |
| ... | ... | @@ -1395,7 +1394,7 @@ pub const Manifest = struct { |
| 1395 | 1394 | switch (input_path.contents.unwrap()) { |
| 1396 | 1395 | .requested => { |
| 1397 | 1396 | const start = m.all_input_content.items.len; |
| 1398 | | hashFileAppend(io, opened_file, &input_file.digest, &m.all_input_content, gpa) catch |err| switch (err) { |
| 1397 | hashFileAppend(io, opened_file, &disk_file.digest, &m.all_input_content, gpa) catch |err| switch (err) { |
| 1399 | 1398 | error.Canceled, error.OutOfMemory => |e| return e, |
| 1400 | 1399 | else => |e| return fail(&m.diagnostic, .{ .file_read = .{ |
| 1401 | 1400 | .file_offset = file_off, |