Skip to content

Commit 11da7d4

Browse files
gh-148047: Revert "GH-148047: Check early whether tail-calling is possible for MSVC builds on Windows (#148036)" (#148558)
This reverts commit cbd81d5.
1 parent 1aa7e7e commit 11da7d4

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

Misc/NEWS.d/next/Build/2026-04-03-20-09-46.gh-issue-148047.HE6iGK.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

PCbuild/pythoncore.vcxproj

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -749,13 +749,4 @@
749749
<Target Name="_DeletePyBuildDirTxt" BeforeTargets="PrepareForBuild">
750750
<Delete Files="$(OutDir)pybuilddir.txt" />
751751
</Target>
752-
753-
<Target Name="_CheckTailCalling" BeforeTargets="PrepareForBuild" Condition="'$(UseTailCallInterp)' == 'true' and $(PlatformToolset) != 'ClangCL'">
754-
<Error Text="MSVC supports tail-calling only for x64."
755-
Condition="$(Platform) != 'x64'" />
756-
<Error Text="Platform toolset >= v145 is required for tail-calling."
757-
Condition="$(PlatformToolset.Replace('v', '0')) &lt; '145'" />
758-
<Error Text="MSVC requires optimization to be enabled for tail-calling."
759-
Condition="$(Configuration) == 'Debug'" />
760-
</Target>
761752
</Project>

0 commit comments

Comments
 (0)