aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authornebulaeonline <linux@nebulae.online>2018-12-23 23:09:07 -0500
committernebulaeonline <linux@nebulae.online>2018-12-23 23:09:07 -0500
commit480061d2c999375be1442d14451da15d6662e67d (patch)
treeb0613eb0ce45d322891bc80a7a06fa82a84e9459 /src/codegen.cpp
parente0af3d7b5041a4dda4b0933b848447a31ef36348 (diff)
downloadzig-480061d2c999375be1442d14451da15d6662e67d.tar.gz
zig-480061d2c999375be1442d14451da15d6662e67d.zip
git user error fix
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);