increase stack size on windows for all executables

fixes test failures

See #157
master
Andrew Kelley 2018-10-01 14:10:18 -04:00
parent af229c1fdc
commit d4d22df1d9
1 changed files with 5 additions and 0 deletions

View File

@ -434,6 +434,11 @@ static void construct_linker_job_coff(LinkJob *lj) {
lj->args.append("-DEBUG");
}
if (g->out_type == OutTypeExe) {
// TODO compile time stack upper bound detection
lj->args.append("/STACK:16777216");
}
coff_append_machine_arg(g, &lj->args);
if (g->windows_subsystem_windows) {