dep-protobuf/Neverlink_jruby_jars.patch
Jason Lunn 88e11bd819 Patch rules_ruby to apply neverlink = True to the jars rule (#21416)
Fixes #21369

Closes #21416

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/21416 from protocolbuffers:neverlink_jruby_jars a8748660f4
PiperOrigin-RevId: 750432837
2025-04-22 20:50:21 -07:00

16 lines
553 B
Diff

Index: ruby/private/download/BUILD.tpl
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/ruby/private/download/BUILD.tpl b/ruby/private/download/BUILD.tpl
--- a/ruby/private/download/BUILD.tpl (revision 26e0ba621cb82933f28a59373cb6a7afe54fae95)
+++ b/ruby/private/download/BUILD.tpl (date 1745340325192)
@@ -33,6 +33,7 @@
["dist/lib/**/*.jar"],
allow_empty = True,
),
+ neverlink = True,
)
rb_toolchain(