mirror of
https://github.com/python/cpython.git
synced 2026-05-06 04:37:33 -04:00
gh-148047: Revert "GH-148047: Check early whether tail-calling is possible for MSVC builds on Windows (#148036)" (#148558)
This reverts commit cbd81d59cf.
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
Fail fast with an explicit and clear error message if tail-calling is not
|
||||
possible for MSVC builds on Windows. Patch by Chris Eibl.
|
||||
@@ -749,13 +749,4 @@
|
||||
<Target Name="_DeletePyBuildDirTxt" BeforeTargets="PrepareForBuild">
|
||||
<Delete Files="$(OutDir)pybuilddir.txt" />
|
||||
</Target>
|
||||
|
||||
<Target Name="_CheckTailCalling" BeforeTargets="PrepareForBuild" Condition="'$(UseTailCallInterp)' == 'true' and $(PlatformToolset) != 'ClangCL'">
|
||||
<Error Text="MSVC supports tail-calling only for x64."
|
||||
Condition="$(Platform) != 'x64'" />
|
||||
<Error Text="Platform toolset >= v145 is required for tail-calling."
|
||||
Condition="$(PlatformToolset.Replace('v', '0')) < '145'" />
|
||||
<Error Text="MSVC requires optimization to be enabled for tail-calling."
|
||||
Condition="$(Configuration) == 'Debug'" />
|
||||
</Target>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user