Skip to content

Commit c510225

Browse files
authored
Merge pull request #56 from ruby-go-gem/fix_rb_set_foreach
Support `rb_set_foreach` in Ruby 4.0
2 parents 01145df + 789a2e7 commit c510225

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22

33
source "https://rubygems.org"
44

5+
# FIXME: Workaround for Ruby 4.0+
6+
# https://github.com/banister/binding_of_caller/pull/90
7+
gem "binding_of_caller", github: "kivikakk/binding_of_caller", branch: "push-yrnnzolypxun"
8+
59
# Specify your gem's dependencies in ruby_header_parser.gemspec
610
gemspec

config/default.yml.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ function:
150150
10: ref_array
151151
rb_set_end_proc:
152152
1: function
153+
rb_set_foreach:
154+
2: function
153155
rb_st_insert2:
154156
4: function
155157
rb_thread_call_with_gvl:

0 commit comments

Comments
 (0)