diff --git a/src/Compilation.zig b/src/Compilation.zig index 2660f74e18f4a4a2efc962c0381141cd159e4a9c..70ed4c7f9a55d8b1695520be78c264925f39928b 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -3209,11 +3209,6 @@ pub fn update(comp: *Compilation, main_progress_node: std.Progress.Node) UpdateE // cache manifest must not be written. if (anyErrors(comp)) return; - if (comp.bin_file) |lf| { - lf.destroy(); - comp.bin_file = null; - } - // Failure here only means an unnecessary cache miss. man.writeManifest() catch |err| log.warn("failed to write cache manifest: {t}", .{err});