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