File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,14 +167,12 @@ jobs:
167167 - true
168168 interpreter :
169169 - switch-case
170+ - tail-call
170171 exclude :
171172 # Skip Win32 on free-threaded builds
172173 - { arch: Win32, free-threading: true }
173- include :
174- # msvc::musttail is currently only supported on x64,
175- # and only supported on 3.15+.
176- - { arch: x64, free-threading: false, interpreter: tail-call }
177- - { arch: x64, free-threading: true, interpreter: tail-call }
174+ # Skip Win32 on tail-call interpreter builds
175+ - { arch: Win32, interpreter: tail-call }
178176 uses : $/.github/workflows/reusable-windows.yml
179177 with :
180178 arch : ${{ matrix.arch }}
Original file line number Diff line number Diff line change @@ -525,8 +525,9 @@ There are three different types of interpreters to choose from based on compiler
525525 [ preserve_none] ( https://clang.llvm.org/docs/AttributeReference.html#preserve-none )
526526 calling convention between the small C functions that implement individual Python opcodes.
527527
528- Not all compilers support these and if they do not all targets might be supported (for example,
529- MSVC currently only supports x64 and only in optimized builds).
528+ Support depends on the compiler and target architecture. With MSVC, the
529+ tail-calling interpreter is available only in optimized builds. The minimum
530+ MSVC version is 14.50 for x64 and 14.52 for ARM64.
530531
531532 In addition, compilers must do [ escape analysis] ( https://gcc.gnu.org/onlinedocs/gcc/Common-Attributes.html#index-musttail )
532533 of the lifetimes of automatic variables, function parameters, and temporaries to ensure proper tail-calls. They
You can’t perform that action at this time.
0 commit comments