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
{{ message }}
Repository navigation
The fiddle gem is broken on truffleruby and jruby #145
As a result people will add fiddle to their Gemfile where they previously wouldn't (and so there was no issue).
Unfortunately this leads to failure for example on ffi/ffi#1119:
TruffleRuby segfaults, probably because the fiddle C extension does something unexpected, and it's completely untested on TruffleRuby. It seems better to use the TruffleRuby Fiddle backend anyway for performance, as it avoids basically going twice through libffi.
I think the best solution for now is to just use fiddle from stdlib on non-CRuby. That's properly tested and working.
IOW, to not build or use the C extension on non-CRuby, similar to how it was done in ruby/stringio#71 or ruby/strscan#35
@kou Thank you for your help fixing this.
Could you make a fiddle release?
Then there should be no problem when gems/Gemfile's depend on fiddle for JRuby & TruffleRuby.
Activity
[-]The gem is broken on truffleruby and jruby[/-][+]The fiddle gem is broken on truffleruby and jruby[/+]Import TruffleRuby implementation
Use JRuby implementation for TruffleRuby
Use JRuby implementation for TruffleRuby
Import TruffleRuby implementation
Use JRuby implementation for TruffleRuby (#149)
eregon commentedon Oct 10, 2024
@kou Thank you for your help fixing this.
Could you make a fiddle release?
Then there should be no problem when gems/Gemfile's depend on
fiddlefor JRuby & TruffleRuby.kou commentedon Oct 11, 2024
Done.