From c90e6de7930e858d513fea2eedafc5aa1befbc8b Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Mon, 1 May 2023 10:50:50 +0800 Subject: [PATCH] DEV: Introduce `enable-ruby-yjit template 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 | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 templates/enable-ruby-yjit.yml diff --git a/templates/enable-ruby-yjit.yml b/templates/enable-ruby-yjit.yml new file mode 100644 index 0000000..a31ad91 --- /dev/null +++ b/templates/enable-ruby-yjit.yml @@ -0,0 +1,2 @@ +env: + RUBY_YJIT_ENABLE: 1 \ No newline at end of file -- 2.25.1