commit f87f98015ca0def0faa717748ace151aeff39c40 (tree)
parent c837ae17078f26cffc2e3d5c45324587c584d7b0
Author: Andrew Kelley <superjoe30@gmail.com>
Date: Sun, 15 Oct 2017 19:04:19 -0400
16MB stack size when building with msvc
fixes crash when evaluating user code that hits the branch limit
See #302
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -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()