diff options
author | Steve Dower <steve.dower@python.org> | 2023-03-17 11:37:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-17 11:37:56 (GMT) |
commit | 744a41bf4963a5346f43ec8632a8becb5c0112e2 (patch) | |
tree | 91255208d062f1341322198d0ca6bd4c1494e74a /PCbuild | |
parent | 99b38bebfd92ed8b1c83799345cb6d9120bdf31c (diff) | |
download | cpython-744a41bf4963a5346f43ec8632a8becb5c0112e2.zip cpython-744a41bf4963a5346f43ec8632a8becb5c0112e2.tar.gz cpython-744a41bf4963a5346f43ec8632a8becb5c0112e2.tar.bz2 |
Increase stack reserve size for Windows debug builds to avoid test crashes (GH-102776)
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/python.vcxproj | 3 | ||||
-rw-r--r-- | PCbuild/pythonw.vcxproj | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj index b6dcf14..0adce09 100644 --- a/PCbuild/python.vcxproj +++ b/PCbuild/python.vcxproj @@ -94,7 +94,8 @@ </ClCompile> <Link> <SubSystem>Console</SubSystem> - <StackReserveSize>2000000</StackReserveSize> + <StackReserveSize Condition="$(Configuration) != 'Debug'">2000000</StackReserveSize> + <StackReserveSize Condition="$(Configuration) == 'Debug'">8000000</StackReserveSize> </Link> </ItemDefinitionGroup> <ItemGroup> diff --git a/PCbuild/pythonw.vcxproj b/PCbuild/pythonw.vcxproj index e7216de..e23635e 100644 --- a/PCbuild/pythonw.vcxproj +++ b/PCbuild/pythonw.vcxproj @@ -89,7 +89,8 @@ </PropertyGroup> <ItemDefinitionGroup> <Link> - <StackReserveSize>2000000</StackReserveSize> + <StackReserveSize Condition="$(Configuration) != 'Debug'">2000000</StackReserveSize> + <StackReserveSize Condition="$(Configuration) == 'Debug'">8000000</StackReserveSize> </Link> </ItemDefinitionGroup> <ItemGroup> |