Skip to content

Add Ruby 2.5.4 sources #6

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

Merged
merged 1 commit into from
May 16, 2022

Conversation

ivoanjo
Copy link

@ivoanjo ivoanjo commented May 13, 2022

The change in ruby/ruby@63d9ab3
added a new member to struct rb_vm_struct in vm_core.h, which means that using ruby-2.5.1-p57 headers (the only ones in the gem) for Ruby 2.5.4+ can result in incorrect code.

I've ran into this during my work on @DataDog's ddtrace gem, which uses debase-ruby_core_source.

Would be awesome to get this included in the gem! Let me know if I can provide any more info or fix anything that I did wrong :)

The change in
<ruby/ruby@63d9ab3>
added a new member to `struct rb_vm_struct` in vm_core.h, which means
that using `ruby-2.5.1-p57` headers (the only ones in the gem)
for Ruby 2.5.4+ can result in incorrect code.

I've ran into this during my work on @DataDog 's
[ddtrace](https://github.com/DataDog/dd-trace-rb) gem, which uses
`debase-ruby_core_source`.
ivoanjo added a commit to DataDog/dd-trace-rb that referenced this pull request May 13, 2022
@hurricup hurricup merged commit 97650d6 into ruby-debug:master May 16, 2022
@hurricup
Copy link

Thank you!

@ivoanjo
Copy link
Author

ivoanjo commented May 16, 2022

Thanks a lot for picking this up! 😄

@ivoanjo ivoanjo deleted the datadog/add-ruby-2.5.4-headers branch May 16, 2022 16:06
ivoanjo added a commit to DataDog/dd-trace-rb that referenced this pull request May 18, 2022
ivoanjo added a commit to DataDog/dd-trace-rb that referenced this pull request May 24, 2022
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