rb_gc_force_recycle is deprecated in Ruby 3.1 - Peter Zhu
16-Dec-2021 2082
It’s almost Christmas, and you know what that means! That’s right, Ruby 3.1 is around the corner. In Ruby 3.1, the public function in the Ruby C API called rb_gc_force_recycle will be deprecated (see ticket). Additionally, this function has been changed to a no-op, so any code depending on its behavior will need to be fixed.You will see a compiler warning during compilation if your native extension uses it. The warning looks like this:.
rb_gc_force_recycle is deprecated in Ruby 3.1 - Peter Zhu #ruby #rubydeveloper #rubyonrails #rb_gc_force_recycle #deprecated #Peter https://rubyonrails.ba/link/rb_gc_force_recycle-is-deprecated-in-ruby-3-1-peter-zhu