-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rb_gc_force_recycle is now no-op, Ruby 3.1 support #2908
rb_gc_force_recycle is now no-op, Ruby 3.1 support #2908
Conversation
Linter fails with error:
So one more change is required. Looks like ABI wasn't changed so could you please increment |
Do you mean GitHub search? I wouldn't trust that, rather |
Upstream is https://github.com/ruby/ruby/blob/ruby_3_1/gc.c#L8675-L8679 It's also deprecated here https://github.com/ruby/ruby/blob/ruby_3_1/include/ruby/internal/intern/gc.h#L213-L214
|
Oh I meant Intellij IDEA, I did "find in files" and it found nothing except the .h and .c where it's defined. I did git grep just now and it agrees.
Hmmm, is there an automated check for that which we would like to pass ? It's the same exact function with a different formatting, I will do it anyway but I don't understand why we should string-match the exact file in CRuby :'D. |
92a76ba
to
a481c03
Compare
Done now. |
Yeah we don't have to match exactly, e.g. we can respect the style of this file with 2-spaces indent and return type and |
a481c03
to
8dca059
Compare
8dca059
to
3735ce4
Compare
3735ce4
to
c4507e5
Compare
Removed the body of rb_gc_force_recycle, a C API function that #2733 says that is deprecated and should be made a no-op. Full text search confirms it's not used anywhere.