summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorDaniel Colson <danieljamescolson@gmail.com>2025-05-16 13:31:43 -0400
committerGitHub <noreply@github.com>2025-05-16 17:31:43 +0000
commiteead83160bcc5f49706e05669e5a7e2620b9b605 (patch)
tree2b453ce707650917b182ddcde01dac213fecf097 /include/ruby
parentcc90adb68d8457a5c79af6cb732906a882438092 (diff)
Prevent enabling yjit when zjit enabled (GH-13358)
`ruby --yjit --zjit` already warns and exits, but it was still possible to enable both with `ruby --zjit -e 'RubyVM:YJIT.enable`. This commit prevents that with a warning and an early return. (We could also exit, but that seems a bit unfriendly once we're already running the program.) Co-authored-by: ywenc <ywenc@github.com>
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13358 Merged-By: XrXr
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions