1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

NEWS: prefer advertising --jit option [ci skip]

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
k0kubun 2018-10-21 15:29:01 +00:00
parent a35eb0cc7d
commit 2c8b8b3fd4

2
NEWS
View file

@ -426,7 +426,7 @@ sufficient information, see the ChangeLog file or Redmine
* Introduce an initial implementation of JIT (Just-in-time) compiler. [Feature #14235] [experimental]
* <tt>--enable=jit</tt> option is added to enable JIT. <tt>--jit-verbose=1</tt>
* <tt>--jit</tt> option is added to enable JIT. <tt>--jit-verbose=1</tt>
is good for inspection. See <tt>ruby --help</tt> for others.
* To generate machine code, this JIT compiler uses C compiler used for building
the interpreter. Currently GCC, Clang, and Microsoft Visual C++ are supported for it.