Skip to content
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

Replace RUBY_EXPORT with RUBY_FUNC_EXPORTED since it's the recommended way #97

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maxprokopiev
Copy link

RUBY_EXPORT used by ruby internally to figure out if library is static or dynamic. The change in ruby/ruby#9828 broke rinku because it couldn't find ruby_abi_version() anymore.

RUBY_FUNC_EXPORTED is recommended in that case
(see https://github.com/ruby/ruby/blob/b2392c6be418703e8941226ac80b359188bf3c5d/lib/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt#L6)

RUBY_EXPORT used by ruby internally to figure out if library is static or dynamic.
The change in ruby/ruby#9828 broke rinku because it
couldn't find `ruby_abi_version()` anymore.

RUBY_FUNC_EXPORTED is recommended in that case
(see https://github.com/ruby/ruby/blob/b2392c6be418703e8941226ac80b359188bf3c5d/lib/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt#L6)
@jeremy
Copy link

jeremy commented Oct 4, 2024

Thanks. Required to build on Ruby 3.4.

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.

2 participants