Skip to content

Conversation

@eregon
Copy link
Member

@eregon eregon commented Jul 6, 2021

  • It used to be hardcoded since 0affbf9 but got removed in 23abf3d
  • This means that since that second commit, rb_iterate() was used unintentionally.

Before this fix, it would cause failures in TruffleRuby, since truffleruby/truffleruby@e7ddba7 (rb_iterate() is obsolete since 1.9 https://github.com/ruby/ruby/blob/master/doc/extension.rdoc#label-Control+Structure, https://bugs.ruby-lang.org/issues/18025)

It would be great to have a release with this fix soon to fix that, do you think that's possible @hsbt @tenderlove?

* It used to be hardcoded since 0affbf9
  but got removed in 23abf3d
* This means that since that second commit, rb_iterate() was used unintentionally.
@eregon
Copy link
Member Author

eregon commented Jul 7, 2021

FYI I'll workaround in TruffleRuby by always defining HAVE_RB_BLOCK_CALL (so existing racc releases work).

We should merge this and have a release so the obsolete rb_iterate() is no longer used, though (https://bugs.ruby-lang.org/issues/18025).

@eregon
Copy link
Member Author

eregon commented Jul 8, 2021

I'll merge this since it is an obvious fix.

@eregon eregon merged commit 8816ced into ruby:master Jul 8, 2021
graalvmbot pushed a commit to truffleruby/truffleruby that referenced this pull request Jul 9, 2021
graalvmbot pushed a commit to truffleruby/truffleruby that referenced this pull request Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant