| ... | @@ -3209,11 +3209,6 @@ pub fn update(comp: *Compilation, main_progress_node: std.Progress.Node) UpdateE | ... | @@ -3209,11 +3209,6 @@ pub fn update(comp: *Compilation, main_progress_node: std.Progress.Node) UpdateE |
| 3209 | // cache manifest must not be written. | 3209 | // cache manifest must not be written. |
| 3210 | if (anyErrors(comp)) return; | 3210 | if (anyErrors(comp)) return; |
| 3211 | | 3211 | |
| 3212 | if (comp.bin_file) |lf| { | | |
| 3213 | lf.destroy(); | | |
| 3214 | comp.bin_file = null; | | |
| 3215 | } | | |
| 3216 | | | |
| 3217 | // Failure here only means an unnecessary cache miss. | 3212 | // Failure here only means an unnecessary cache miss. |
| 3218 | man.writeManifest() catch |err| log.warn("failed to write cache manifest: {t}", .{err}); | 3213 | man.writeManifest() catch |err| log.warn("failed to write cache manifest: {t}", .{err}); |
| 3219 | | 3214 | |