[ruby-core:124007] [Ruby Feature#21722] Expose rb_gc_mark_weak API for use in extensions