parent
ac0cda8df8
commit
9ac9633b10
@ -8142,7 +8142,7 @@ static void resolve_out_paths(CodeGen *g) {
|
|||||||
Buf basename = BUF_INIT;
|
Buf basename = BUF_INIT;
|
||||||
buf_init_from_buf(&basename, g->root_out_name);
|
buf_init_from_buf(&basename, g->root_out_name);
|
||||||
buf_append_str(&basename, target_exe_file_ext(&g->zig_target));
|
buf_append_str(&basename, target_exe_file_ext(&g->zig_target));
|
||||||
if (g->enable_cache) {
|
if (g->enable_cache || g->is_test_build) {
|
||||||
os_path_join(&g->artifact_dir, &basename, &g->output_file_path);
|
os_path_join(&g->artifact_dir, &basename, &g->output_file_path);
|
||||||
} else {
|
} else {
|
||||||
buf_init_from_buf(&g->output_file_path, &basename);
|
buf_init_from_buf(&g->output_file_path, &basename);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user