| ... | @@ -1798,6 +1798,9 @@ fn updateCObject(comp: *Compilation, c_object: *CObject, c_comp_progress_node: * | ... | @@ -1798,6 +1798,9 @@ fn updateCObject(comp: *Compilation, c_object: *CObject, c_comp_progress_node: * |
| 1798 | }; | 1798 | }; |
| 1799 | } | 1799 | } |
| 1800 | | 1800 | |
| | 1801 | // We don't actually care whether it's a cache hit or miss; we just need the digest and the lock. |
| | 1802 | if (comp.disable_c_depfile) _ = try man.hit(); |
| | 1803 | |
| 1801 | // Rename into place. | 1804 | // Rename into place. |
| 1802 | const digest = man.final(); | 1805 | const digest = man.final(); |
| 1803 | const o_sub_path = try std.fs.path.join(arena, &[_][]const u8{ "o", &digest }); | 1806 | const o_sub_path = try std.fs.path.join(arena, &[_][]const u8{ "o", &digest }); |