| ... | ... | @@ -8142,7 +8142,7 @@ static void resolve_out_paths(CodeGen *g) { |
| 8142 | 8142 | Buf basename = BUF_INIT; |
| 8143 | 8143 | buf_init_from_buf(&basename, g->root_out_name); |
| 8144 | 8144 | buf_append_str(&basename, target_exe_file_ext(&g->zig_target)); |
| 8145 | | if (g->enable_cache) { |
| 8145 | if (g->enable_cache || g->is_test_build) { |
| 8146 | 8146 | os_path_join(&g->artifact_dir, &basename, &g->output_file_path); |
| 8147 | 8147 | } else { |
| 8148 | 8148 | buf_init_from_buf(&g->output_file_path, &basename); |