aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index b76bbfb492..30a4f8c2a4 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -7231,8 +7231,7 @@ static void init(CodeGen *g) {
}
if (g->is_test_build) {
- g->windows_subsystem_windows = false;
- g->windows_subsystem_console = true;
+ g->msvc_subsystem = ZigLLVM_MSVC_CONSOLE;
}
assert(g->root_out_name);