DEV: Introduce `enable-ruby-yjit template
authorAlan Guo Xiang Tan <gxtan1990@gmail.com>
Mon, 1 May 2023 02:50:50 +0000 (10:50 +0800)
committerAlan Guo Xiang Tan <gxtan1990@gmail.com>
Mon, 1 May 2023 03:32:34 +0000 (10:32 +0700)
This adds the `RUBY_YJIT_ENABLE` environment variable which would enable
Ruby 3.2's YJIT. See
https://github.com/ruby/ruby/blob/master/doc/yjit/yjit.md for more
information about YJIT.

templates/enable-ruby-yjit.yml [new file with mode: 0644]

diff --git a/templates/enable-ruby-yjit.yml b/templates/enable-ruby-yjit.yml
new file mode 100644 (file)
index 0000000..a31ad91
--- /dev/null
@@ -0,0 +1,2 @@
+env:
+  RUBY_YJIT_ENABLE: 1
\ No newline at end of file