mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
16MB stack size when building with msvc
fixes crash when evaluating user code that hits the branch limit See #302
This commit is contained in:
1 parent
c837ae1707
commit
f87f98015c
1 file changed
+2
@@ -375,6 +375,8 @@ endif()
|
||||
set(EXE_LDFLAGS " ")
|
||||
if(MINGW)
|
||||
set(EXE_LDFLAGS "-static -static-libgcc -static-libstdc++")
|
||||
elseif(MSVC)
|
||||
set(EXE_LDFLAGS "/STACK:16777216")
|
||||
else()
|
||||
set(EXE_LDFLAGS " ")
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user