Closed Watson1978 closed 8 months ago
rb_gc_mark_movable has introduced at Ruby 2.7.0 https://github.com/ruby/ruby/commit/aac4d9d6c7e6b6b0742f3941b574f6006ccb5672
Current Oj gem only supports Ruby 2.7.0 or later. So there is no need to check whether function exists.
I forgot that truffleruby doesn't have rb_gc_mark_movable :(
rb_gc_mark_movable has introduced at Ruby 2.7.0 https://github.com/ruby/ruby/commit/aac4d9d6c7e6b6b0742f3941b574f6006ccb5672
Current Oj gem only supports Ruby 2.7.0 or later. So there is no need to check whether function exists.