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 mmtk compilation #74

Merged
merged 2 commits into from
Jul 9, 2024
Merged

Fix mmtk compilation #74

merged 2 commits into from
Jul 9, 2024

Conversation

eileencodes
Copy link
Collaborator

Included two fixes:

Include mmtk header outside USE_MMTK

If this is inside the USE_MMTK conditional, then WHEN_USING_MMTK
macros isn't defined and building CRuby without mmtk will fail.

Fix return on rb_mmtk_is_ppp_wrapper

Fixes a warning that rb_mmtk_is_ppp_wrapper was not returning a value
for a non-void function.

If this is inside the `USE_MMTK` conditional, then `WHEN_USING_MMTK`
macros isn't defined and building CRuby without mmtk will fail.
Fixes a warning that `rb_mmtk_is_ppp_wrapper` was not returning a value
for a non-void function.
Copy link

@wks wks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad. Thank you for your fix. Maybe I should add a CI test for building without MMTk sooner.

@wks wks merged commit 7acf6a2 into mmtk:mmtk Jul 9, 2024
96 of 106 checks passed
@eileencodes eileencodes deleted the fix-mmtk-compilation branch July 9, 2024 13:52
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.

2 participants