Skip to content

Use a cfunc in send_cfunc_block#506

Merged
k0kubun merged 1 commit intoruby:mainfrom
k0kubun:cfunc-reverse-each
Apr 3, 2026
Merged

Use a cfunc in send_cfunc_block#506
k0kubun merged 1 commit intoruby:mainfrom
k0kubun:cfunc-reverse-each

Conversation

@k0kubun
Copy link
Copy Markdown
Member

@k0kubun k0kubun commented Apr 3, 2026

Array#each is not a cfunc for YJIT/ZJIT, so this PR replaces it with Array#reverse_each in send_cfunc_block.

@k0kubun k0kubun requested a review from a team April 3, 2026 18:54
Copy link
Copy Markdown
Contributor

@tekknolagi tekknolagi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks. used to be a cfunc :P

@k0kubun k0kubun merged commit 53fbbd1 into ruby:main Apr 3, 2026
11 checks passed
@k0kubun k0kubun deleted the cfunc-reverse-each branch April 3, 2026 20:32
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.

2 participants