Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix indent
Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>
  • Loading branch information
XChaitanyaX and chris-eibl authored Oct 25, 2025
commit 2c36f5d2b1103f3dc152cdae16c0939d56857199
14 changes: 7 additions & 7 deletions Python/ceval_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@
#endif

#if _Py_TAIL_CALL_INTERP
# if defined(__clang__) || defined(__GNUC__)
# if !_Py__has_attribute(preserve_none) || !_Py__has_attribute(musttail)
# error "This compiler does not have support for efficient tail calling."
# endif
# elif defined(_MSC_VER) && (_MSC_VER < 1950)
# error "You need atleast VS 2026 / PlatformToolset v145 for tail calling."
# endif
# if defined(__clang__) || defined(__GNUC__)
# if !_Py__has_attribute(preserve_none) || !_Py__has_attribute(musttail)
# error "This compiler does not have support for efficient tail calling."
# endif
Comment thread
XChaitanyaX marked this conversation as resolved.
Outdated
Comment thread
XChaitanyaX marked this conversation as resolved.
Outdated
# elif defined(_MSC_VER) && (_MSC_VER < 1950)
# error "You need at least VS 2026 / PlatformToolset v145 for tail calling."
# endif

// Note: [[clang::musttail]] works for GCC 15, but not __attribute__((musttail)) at the moment.
# define Py_MUSTTAIL [[clang::musttail]]
Expand Down
Loading