| ... | @@ -1926,6 +1926,7 @@ pub fn update(comp: *Compilation) !void { | ... | @@ -1926,6 +1926,7 @@ pub fn update(comp: *Compilation) !void { |
| 1926 | // We are about to obtain this lock, so here we give other processes a chance first. | 1926 | // We are about to obtain this lock, so here we give other processes a chance first. |
| 1927 | comp.bin_file.releaseLock(); | 1927 | comp.bin_file.releaseLock(); |
| 1928 | | 1928 | |
| | 1929 | comp.whole_cache_manifest = &man; |
| 1929 | man = comp.cache_parent.obtain(); | 1930 | man = comp.cache_parent.obtain(); |
| 1930 | try comp.addNonIncrementalStuffToCacheManifest(&man); | 1931 | try comp.addNonIncrementalStuffToCacheManifest(&man); |
| 1931 | | 1932 | |
| ... | @@ -1960,8 +1961,6 @@ pub fn update(comp: *Compilation) !void { | ... | @@ -1960,8 +1961,6 @@ pub fn update(comp: *Compilation) !void { |
| 1960 | } | 1961 | } |
| 1961 | log.debug("CacheMode.whole cache miss for {s}", .{comp.bin_file.options.root_name}); | 1962 | log.debug("CacheMode.whole cache miss for {s}", .{comp.bin_file.options.root_name}); |
| 1962 | | 1963 | |
| 1963 | comp.whole_cache_manifest = &man; | | |
| 1964 | | | |
| 1965 | // Initialize `bin_file.emit` with a temporary Directory so that compilation can | 1964 | // Initialize `bin_file.emit` with a temporary Directory so that compilation can |
| 1966 | // continue on the same path as incremental, using the temporary Directory. | 1965 | // continue on the same path as incremental, using the temporary Directory. |
| 1967 | tmp_artifact_directory = d: { | 1966 | tmp_artifact_directory = d: { |