Skip to content

ZJIT: Add RubyVM::ZJIT.enabled? #14159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 11, 2025
Merged

ZJIT: Add RubyVM::ZJIT.enabled? #14159

merged 2 commits into from
Aug 11, 2025

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Aug 8, 2025

This PR adds RubyVM::ZJIT.enabled?.

I want to have something similar to Shopify/yjit-bench#319 for ZJIT, and I want to use RubyVM::ZJIT.enabled? to guard it.

Co-authored-by: Max Bernstein <tekknolagi@gmail.com>
@k0kubun k0kubun merged commit 6968668 into ruby:master Aug 11, 2025
84 checks passed
@k0kubun k0kubun deleted the zjit-enabled branch August 11, 2025 20:19
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.

3 participants