aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-08-30 13:28:44 +0300
committerMatti Picus <matti.picus@gmail.com>2020-08-30 13:28:44 +0300
commitaa9e764a64550042eb56785de4ee4bba824274a4 (patch)
treed9e9ff6d14a0f41adf3596e2ee2dab64863785df /rpython/translator
parentadd the tweaked test_c.py from cffi, which can now be run directly (diff)
downloadpypy-aa9e764a64550042eb56785de4ee4bba824274a4.tar.gz
pypy-aa9e764a64550042eb56785de4ee4bba824274a4.tar.bz2
pypy-aa9e764a64550042eb56785de4ee4bba824274a4.zip
make stack 3MB on windows
Diffstat (limited to 'rpython/translator')
-rw-r--r--rpython/translator/platform/windows.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpython/translator/platform/windows.py b/rpython/translator/platform/windows.py
index fb895dbbfb..6ba68d4a19 100644
--- a/rpython/translator/platform/windows.py
+++ b/rpython/translator/platform/windows.py
@@ -175,7 +175,8 @@ class MsvcPlatform(Platform):
make = 'jom.exe'
cflags = ('/MD', '/O2', '/FS', '/Zi')
- link_flags = ('/debug','/LARGEADDRESSAWARE')
+ # allow >2GB address space, set stack to 3MB (1MB is too small)
+ link_flags = ('/debug','/LARGEADDRESSAWARE', '/STACK:3145728)
standalone_only = ()
shared_only = ()
environ = None