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.)
Prevent enabling yjit when zjit enabled (GH-13358)
ruby --yjit --zjitalready warns and exits, but it was still possibleto 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