Commit 0858d7b0df
2020-11-13 20:54:05
1 parent
a4c8bd8Changed files (1)
src/Compilation.zig
@@ -1798,6 +1798,9 @@ fn updateCObject(comp: *Compilation, c_object: *CObject, c_comp_progress_node: *
};
}
+ // We don't actually care whether it's a cache hit or miss; we just need the digest and the lock.
+ if (comp.disable_c_depfile) _ = try man.hit();
+
// Rename into place.
const digest = man.final();
const o_sub_path = try std.fs.path.join(arena, &[_][]const u8{ "o", &digest });