diff options
| author | Daniel Colson <danieljamescolson@gmail.com> | 2025-05-16 13:31:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-16 17:31:43 +0000 |
| commit | eead83160bcc5f49706e05669e5a7e2620b9b605 (patch) | |
| tree | 2b453ce707650917b182ddcde01dac213fecf097 /include/ruby/internal/static_assert.h | |
| parent | cc90adb68d8457a5c79af6cb732906a882438092 (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/internal/static_assert.h')
0 files changed, 0 insertions, 0 deletions
