| ... | @@ -5718,7 +5718,7 @@ pub fn cImport( | ... | @@ -5718,7 +5718,7 @@ pub fn cImport( |
| 5718 | const o_sub_path = "o" ++ fs.path.sep_str ++ hex_digest; | 5718 | const o_sub_path = "o" ++ fs.path.sep_str ++ hex_digest; |
| 5719 | | 5719 | |
| 5720 | if (comp.verbose_cimport) log.info("renaming {s} to {s}", .{ tmp_sub_path, o_sub_path }); | 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 | break :digest .{ bin_digest, false }; | 5723 | break :digest .{ bin_digest, false }; |
| 5724 | }; | 5724 | }; |