Skip to content

Improve compile guard in digest_spec.c#1347

Open
herwinw wants to merge 1 commit intoruby:masterfrom
herwinw:compile_guard_ptr2num
Open

Improve compile guard in digest_spec.c#1347
herwinw wants to merge 1 commit intoruby:masterfrom
herwinw:compile_guard_ptr2num

Conversation

@herwinw
Copy link
Member

@herwinw herwinw commented Feb 13, 2026

This macro should be available from Ruby 4.0 and onwards. Make this more explicit.

This macro should be available from Ruby 4.0 and onwards. Make this more
explicit.
@herwinw
Copy link
Member Author

herwinw commented Feb 13, 2026

I guess this is a bit of a chicken and egg question, because now to run the digest specs with Ruby 4.0 compatibility, you need to define this macro.
This is mostly relevant to Truffleruby, so the correct people to judge this change are active in this repo ;)

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.

1 participant