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

Update CI and fix using the gem on TruffleRuby #108

Merged
merged 6 commits into from
Oct 26, 2022

Conversation

eregon
Copy link
Contributor

@eregon eregon commented Oct 25, 2022

Fixes #107 #103
cc @nirvdrum

@SamSaffron Could you review, merge and make a release? (after CI passes of course)

Before this the gem fails on TruffleRuby, because GC::INTERNAL_CONSTANTS[:RVALUE_SIZE] is rightly not defined on non-CRuby.

* Useful to run it in forks.
@eregon eregon changed the title Update CI and fix loading the gem on TruffleRuby Update CI and fix using the gem on TruffleRuby Oct 25, 2022
@eregon
Copy link
Contributor Author

eregon commented Oct 25, 2022

@eregon
Copy link
Contributor Author

eregon commented Oct 25, 2022

I would add TruffleRuby in CI but unfortunately these tests depend on quite a bit of CRuby specifics, and TruffleRuby does not currently track allocation of context-independent objects like Symbols (all) and String literals.

@SamSaffron
Copy link
Owner

oh nice, will do a release shortly

@SamSaffron SamSaffron merged commit 827e2d6 into SamSaffron:master Oct 26, 2022
@eregon
Copy link
Contributor Author

eregon commented Oct 26, 2022

Thank you!

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.

Test failures on ruby 3.0.4
2 participants