diff options
author | Lars Kanis <lars@greiz-reinsdorf.de> | 2021-07-09 06:40:24 +0200 |
---|---|---|
committer | Lars Kanis <lars@greiz-reinsdorf.de> | 2021-07-09 06:40:24 +0200 |
commit | 0dbbe5ebcf77473529eb4c9b2f91973aec5abb8d (patch) | |
tree | b7f8a2c681a12ed897c4007842910aff22c136ce | |
parent | 1880a7182e37e7b1d14b1464eaec76d1ce2407d7 (diff) | |
download | ffi-0dbbe5ebcf77473529eb4c9b2f91973aec5abb8d.tar.gz |
Lower the JRuby version guard to 9.2.20
FFI improvments will probably backported to 9.2 branch.
See https://github.com/jruby/jruby/pull/6747#issuecomment-876610443
-rw-r--r-- | lib/ffi.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ if RUBY_ENGINE == 'ruby' require 'ffi/ffi' -elsif RUBY_ENGINE == 'jruby' && (RUBY_ENGINE_VERSION.split('.').map(&:to_i) <=> [9, 3]) >= 0 +elsif RUBY_ENGINE == 'jruby' && (RUBY_ENGINE_VERSION.split('.').map(&:to_i) <=> [9, 2, 20]) >= 0 JRuby::Util.load_ext("org.jruby.ext.ffi.FFIService") require 'ffi/ffi' |