Skip to content

fix: disable TCO for Cranelift - #373

Merged
DaniPopes merged 1 commit into
mainfrom
dani/no-tco-cranelift
Aug 24, 2026
Merged

fix: disable TCO for Cranelift#373
DaniPopes merged 1 commit into
mainfrom
dani/no-tco-cranelift

Conversation

@DaniPopes

Copy link
Copy Markdown
Member

Select the packed interpreter dispatcher when Cargo uses Cranelift. Cranelift cannot compile the LLVM-only rust-preserve-none ABI or explicit tail calls used by the TCO dispatcher.

Cranelift does not support the rust-preserve-none calling convention or explicit tail calls. Select the packed dispatcher when it is the active codegen backend.
@DaniPopes
DaniPopes requested a review from onbjerg as a code owner August 24, 2026 13:40
@DaniPopes
DaniPopes merged commit 9b03744 into main Aug 24, 2026
32 checks passed
@DaniPopes
DaniPopes deleted the dani/no-tco-cranelift branch August 24, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant