Skip to content

Commit 88d6c5a

Browse files
authored
[DOC] Update ZJIT status in NEWS.md
As for Ruby v4.0.0-preview3, ZJIT support is enabled by default on supported platforms. The previous phrasing is not relevant for most users. Replaced with brief instructions for enabling the JIT itself.
1 parent f7b4845 commit 88d6c5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ A lot of work has gone into making Ractors more stable, performant, and usable.
510510

511511
* ZJIT
512512
* Introduce an [experimental method-based JIT compiler](https://docs.ruby-lang.org/en/master/jit/zjit_md.html).
513-
To enable `--zjit` support, build Ruby with Rust 1.85.0 or later.
513+
To enable ZJIT on supported platforms, supply the `--zjit` option or call `RubyVM::ZJIT.enable` at runtime.
514514
* As of Ruby 4.0.0, ZJIT is faster than the interpreter, but not yet as fast as YJIT.
515515
We encourage experimentation with ZJIT, but advise against deploying it in production for now.
516516
* Our goal is to make ZJIT faster than YJIT and production-ready in Ruby 4.1.

0 commit comments

Comments
 (0)