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

Ruby FFI implementation #13343

Closed
wants to merge 85 commits into from
Closed

Ruby FFI implementation #13343

wants to merge 85 commits into from

Conversation

JasonLunn
Copy link
Contributor

Supersedes #11483.

JasonLunn and others added 30 commits July 7, 2023 10:00
…ies on Ruby headers from functionality needed by FFI.
…ies on Ruby headers from functionality needed by FFI.
Add `ifndef` armor around shared_convert.h.
@JasonLunn
Copy link
Contributor Author

Looks like CI tests are failing?

Yep! The new test implementation.rb failed because FFI was not being properly loaded in these configs and was falling back to the native implementation. So yay, the test works!

Just pushed a fix which I expect will fix the test failure. 🤞

That look a lot more experimentation and fixing than anticipated, but all Ruby tests pass now. The breakage of the Java tests is unrelated - they're currently broken at HEAD, too.

ruby/README.md Show resolved Hide resolved
ruby/README.md Outdated Show resolved Hide resolved
@JasonLunn JasonLunn requested a review from haberman July 21, 2023 21:55
@JasonLunn JasonLunn added 🅰️ safe for tests Mark a commit as safe to run presubmits over and removed 🅰️ safe for tests Mark a commit as safe to run presubmits over labels Jul 24, 2023
@esorot esorot added 🅰️ safe for tests Mark a commit as safe to run presubmits over and removed 🅰️ safe for tests Mark a commit as safe to run presubmits over labels Jul 24, 2023
@JasonLunn JasonLunn deleted the simultaneous_ffi branch August 1, 2023 14:47
@@ -110,8 +110,8 @@ def protobuf_deps():
_github_archive(
name = "rules_ruby",
repo = "https://github.com/protocolbuffers/rules_ruby",
commit = "8fca842a3006c3d637114aba4f6bf9695bb3a432",
sha256 = "2619f9a23cee6f6a198d9ef284b6f6cbc901545ee9a9aac9ffa6b83dbf17cf0c",
commit = "b7f3e9756f3c45527be27bc38840d5a1ba690436",
Copy link

Choose a reason for hiding this comment

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

protocolbuffers/rules_ruby@b7f3e97 shows

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

It seems this commit is not part of the main branch is has been deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jruby Issues unique to the JRuby interpreter ruby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants