| ... | @@ -3230,16 +3230,16 @@ pub fn update(comp: *Compilation, main_progress_node: std.Progress.Node) UpdateE | ... | @@ -3230,16 +3230,16 @@ pub fn update(comp: *Compilation, main_progress_node: std.Progress.Node) UpdateE |
| 3230 | // cache manifest must not be written. | 3230 | // cache manifest must not be written. |
| 3231 | if (anyErrors(comp)) return; | 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 | if (comp.bin_file) |lf| { | 3233 | if (comp.bin_file) |lf| { |
| 3239 | lf.destroy(); | 3234 | lf.destroy(); |
| 3240 | comp.bin_file = null; | 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 | assert(whole.lock == null); | 3243 | assert(whole.lock == null); |
| 3244 | whole.lock = man.toOwnedLock(); | 3244 | whole.lock = man.toOwnedLock(); |
| 3245 | }, | 3245 | }, |