mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
successfully cross-building behavior tests for windows
This commit is contained in:
1 parent
41da9fdb69
commit
021155db5b
4 files changed
+25
-9
No files matched your search
@@ -4914,6 +4914,12 @@ static void define_builtin_compile_vars(CodeGen *g) {
|
||||
static void init(CodeGen *g) {
|
||||
if (g->module)
|
||||
return;
|
||||
|
||||
if (g->is_test_build) {
|
||||
g->windows_subsystem_windows = false;
|
||||
g->windows_subsystem_console = true;
|
||||
}
|
||||
|
||||
assert(g->root_out_name);
|
||||
g->module = LLVMModuleCreateWithName(buf_ptr(g->root_out_name));
|
||||
|
||||
|
||||
Reference in new issue
Block a user