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

Cherry-pick commits to fix this branch on TruffleRuby #25

Closed
wants to merge 2 commits into from

Conversation

rwstauner
Copy link

@rwstauner rwstauner commented Feb 2, 2024

This makes this branch of the gem installable on TruffleRuby.

The workaround for specific repos is to use platform: :mri in the Gemfile, but it would be nice to fix this branch.
It would also be good to rebase this work (if it is still necessary) against the master branch.
If it's not necessary, it would be good to delete so people do not adopt it in the future.

* iseq_collector.c relies on many CRuby internals, there is no point to compile it on other Rubies.
* It now fails to compile on TruffleRuby:
  ../../../../ext/debug/iseq_collector.c: In function ‘imemo_type’:
  ../../../../ext/debug/iseq_collector.c:18:13: error: implicit declaration of function ‘RBASIC’ [-Werror=implicit-function-declaration]
    18 |     return (RBASIC(imemo)->flags >> FL_USHIFT) & imemo_mask;
        |            ^~~~~~
@andyw8 andyw8 removed their request for review February 6, 2024 15:22
@st0012
Copy link
Member

st0012 commented Nov 20, 2024

I'm closing this as we're not using this fork anymore.

@st0012 st0012 closed this Nov 20, 2024
@rwstauner
Copy link
Author

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.

3 participants