Skip to content

Patch rules_ruby to apply neverlink = True to the jars rule #21416

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

Closed
wants to merge 1 commit into from

Conversation

JasonLunn
Copy link
Contributor

Fixes #21369

@JasonLunn JasonLunn added packaging & distribution jruby Issues unique to the JRuby interpreter labels Apr 22, 2025
@JasonLunn JasonLunn self-assigned this Apr 22, 2025
JasonLunn added a commit to JasonLunn/rules_ruby-1 that referenced this pull request Apr 22, 2025
Prevent the implicit inclusion of JRuby's jars into jars made from .java files that have a compile-time dependency on JRuby.

Addresses the root cause of protocolbuffers/protobuf#21369 and will enable the eventual rollback of protocolbuffers/protobuf#21416.
@zhangskz
Copy link
Member

Cherry-pick to 31.x as well once ready?

p0deje pushed a commit to bazel-contrib/rules_ruby that referenced this pull request Apr 23, 2025
Prevent the implicit inclusion of JRuby's jars into jars made from .java files that have a compile-time dependency on JRuby.

Addresses the root cause of protocolbuffers/protobuf#21369 and will enable the eventual rollback of protocolbuffers/protobuf#21416.
JasonLunn added a commit that referenced this pull request Apr 29, 2025
…1416)

Fixes #21369

Closes #21416

COPYBARA_INTEGRATE_REVIEW=#21416 from protocolbuffers:neverlink_jruby_jars a874866
PiperOrigin-RevId: 750432837
JasonLunn added a commit that referenced this pull request Apr 29, 2025
…1416) (#21505)

Fixes #21369

Closes #21416

COPYBARA_INTEGRATE_REVIEW=#21416 from protocolbuffers:neverlink_jruby_jars a874866
PiperOrigin-RevId: 750432837
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 packaging & distribution
2 participants