diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-09-24 03:54:59 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-09-24 03:55:45 -0400 |
| commit | ba41be67f02158df964543d21b30c83f1b17550d (patch) | |
| tree | 79532b92c9309e669fc7c96420e1efe9b7dd1f44 /src/codegen.cpp | |
| parent | 41b588547cd49673ff632ed0fc3210c76ff48b42 (diff) | |
| download | zig-ba41be67f02158df964543d21b30c83f1b17550d.tar.gz zig-ba41be67f02158df964543d21b30c83f1b17550d.zip | |
windows gui hello world
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index ab4bf4ebf4..842b0205eb 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -5157,7 +5157,7 @@ static void gen_root_source(CodeGen *g) { assert(g->root_out_name); assert(g->out_type != OutTypeUnknown); - if (!g->is_test_build && g->zig_target.os != ZigLLVM_UnknownOS && !g->have_c_main && + if (!g->is_test_build && g->zig_target.os != ZigLLVM_UnknownOS && !g->have_c_main && !g->have_winmain && ((g->have_pub_main && g->out_type == OutTypeObj) || g->out_type == OutTypeExe)) { g->bootstrap_import = add_special_code(g, create_bootstrap_pkg(g, g->root_package), "bootstrap.zig"); |
