File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 7979#endif
8080
8181#if _Py_TAIL_CALL_INTERP
82- # if defined(__clang__ ) || defined(__GNUC__ )
83- # if !_Py__has_attribute (preserve_none ) || !_Py__has_attribute (musttail )
84- # error "This compiler does not have support for efficient tail calling."
85- # endif
86- # elif defined(_MSC_VER ) && (_MSC_VER < 1950 )
87- # error "You need atleast VS 2026 / PlatformToolset v145 for tail calling."
88- # endif
82+ # if defined(__clang__ ) || defined(__GNUC__ )
83+ # if !_Py__has_attribute (preserve_none ) || !_Py__has_attribute (musttail )
84+ # error "This compiler does not have support for efficient tail calling."
85+ # endif
86+ # elif defined(_MSC_VER ) && (_MSC_VER < 1950 )
87+ # error "You need at least VS 2026 / PlatformToolset v145 for tail calling."
88+ # endif
8989
9090 // Note: [[clang::musttail]] works for GCC 15, but not __attribute__((musttail)) at the moment.
9191# define Py_MUSTTAIL [[clang::musttail]]
You can’t perform that action at this time.
0 commit comments