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

Fix loading of digest ext libraries with --with-static-linked-ext #71

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

kateinoigakukun
Copy link
Member

rb_ext_resolve_symbol is not always available on some platforms including WASI, and we don't need to use it when the extension is built as a static library. This commit prefers to use rb_digest_wrap_metadata directly when the extension is built as a static library to avoid the unnecessary use of rb_ext_resolve_symbol.

`rb_ext_resolve_symbol` is not always available on some platforms
including WASI, and we don't need to use it when the extension is built
as a static library. This commit prefers to use `rb_digest_wrap_metadata`
directly when the extension is built as a static library to avoid the
unnecessary use of `rb_ext_resolve_symbol`.
@hsbt hsbt merged commit 5dbeb4b into ruby:master Nov 18, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants