| ... | ... | @@ -3230,16 +3230,16 @@ pub fn update(comp: *Compilation, main_progress_node: std.Progress.Node) UpdateE |
| 3230 | 3230 | // cache manifest must not be written. |
| 3231 | 3231 | if (anyErrors(comp)) return; |
| 3232 | 3232 | |
| 3233 | | // Failure here only means an unnecessary cache miss. |
| 3234 | | man.writeManifest() catch |err| { |
| 3235 | | log.warn("failed to write cache manifest: {s}", .{@errorName(err)}); |
| 3236 | | }; |
| 3237 | | |
| 3238 | 3233 | if (comp.bin_file) |lf| { |
| 3239 | 3234 | lf.destroy(); |
| 3240 | 3235 | comp.bin_file = null; |
| 3241 | 3236 | } |
| 3242 | 3237 | |
| 3238 | // Failure here only means an unnecessary cache miss. |
| 3239 | man.writeManifest() catch |err| { |
| 3240 | log.warn("failed to write cache manifest: {s}", .{@errorName(err)}); |
| 3241 | }; |
| 3242 | |
| 3243 | 3243 | assert(whole.lock == null); |
| 3244 | 3244 | whole.lock = man.toOwnedLock(); |
| 3245 | 3245 | }, |