In addition to --enable=jit and --enable-jit, we're going to ship --jit as a short hand of it in Ruby 2.6.0.
That's because both --enable=jit and --enable-jit are super hard to type everytime on command line, and I want make it easier to use so that many people use it. First of all, --enable=jit is accidentally added for consistency with --disable=jit and it's not added for human.
As it's a short hand, once JIT became enabled by default, the --jit option would be removed after some deprecation warning period and only --enable=jit/--disable=jit will survive. That being said, I still think having --jit as a temporary short hand is valuable for the above reasons.
NEWS: prefer advertising --jit option [ci skip]
In addition to
--enable=jitand--enable-jit, we're going to ship--jitas a short hand of it in Ruby 2.6.0.That's because both --enable=jit and --enable-jit are super hard to
type everytime on command line, and I want make it easier to use so
that many people use it. First of all,
--enable=jitis accidentallyadded for consistency with
--disable=jitand it's not added for human.As it's a short hand, once JIT became enabled by default, the
--jitoption would be removed after some deprecation warning period and only
--enable=jit/--disable=jitwill survive. That being said, I stillthink having
--jitas a temporary short hand is valuable for the abovereasons.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e