We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6009309 commit 15b0bf1Copy full SHA for 15b0bf1
1 file changed
PCbuild/pythoncore.vcxproj
@@ -749,4 +749,13 @@
749
<Target Name="_DeletePyBuildDirTxt" BeforeTargets="PrepareForBuild">
750
<Delete Files="$(OutDir)pybuilddir.txt" />
751
</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')) < '145'" />
758
+ <Error Text="MSVC requires optimization to be enabled for tail-calling."
759
+ Condition="$(Configuration) == 'Debug'" />
760
+ </Target>
761
</Project>
0 commit comments