You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix symbol collision with other native gems using libzstd
- Hide all ZSTD symbols by default using -fvisibility=hidden
- Use exported_symbols_list on macOS to explicitly control exported symbols
- Only export Init_zstdruby function required for Ruby extension initialization
- Add RUBY_FUNC_EXPORTED macro to Init_zstdruby function
This resolves symbol collision issues when using zstd-ruby alongside other
gems that dynamically link to system libzstd (e.g., rdkafka-ruby).
Fixes#102
0 commit comments