| author | |
| committer | |
| log | f4d328e2ac0583336085f647df18c7430b7948be |
| tree | 78585360110509894beb540898c35ccebd932107 |
| parent | f0d3b7abb8e96aede796c80ab73a0f82ecced722 |
solves several problems with this pattern1 files changed, 1 insertions(+), 1 deletions(-)
src/Compilation.zig+1-1| ... | ... | @@ -5718,7 +5718,7 @@ pub fn cImport( |
| 5718 | 5718 | const o_sub_path = "o" ++ fs.path.sep_str ++ hex_digest; |
| 5719 | 5719 | |
| 5720 | 5720 | if (comp.verbose_cimport) log.info("renaming {s} to {s}", .{ tmp_sub_path, o_sub_path }); |
| 5721 | try fs.rename(cache_dir, tmp_sub_path, cache_dir, o_sub_path); | |
| 5721 | try renameTmpIntoCache(comp.dirs.local_cache, tmp_sub_path, o_sub_path); | |
| 5722 | 5722 | |
| 5723 | 5723 | break :digest .{ bin_digest, false }; |
| 5724 | 5724 | }; |