From 77a4c4bbcfc412bda8c0e17729a7f10ae7483636 Mon Sep 17 00:00:00 2001 From: rpkak Date: Sun, 15 Mar 2026 12:56:45 +0100 Subject: [PATCH] Compilation: remove early 'bin_file = null' which results in a 'defer if (comp.bin_file)' block to not be executed --- src/Compilation.zig | 5 ----- 1 file changed, 5 deletions(-) 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}); -- 2.54.0