Runfiles propagation for cc_shared_library
#25971
bd-tkoolen
started this conversation in
General
Replies: 1 comment 1 reply
-
|
/cc @oquenchil |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While trying to switch from the
cc_binary(..., linkshared = 1)way of creating standalone shared libraries to using thecc_shared_libraryrule, I noticed thatcc_shared_librarydoesn't propagate the runfiles from itsdepslikecc_binarydoes.Here is a sketch:
If I comment out
data = [":cc_shared_lib"],and uncommentdata = [":cc_bin"],in thesh_binaryandbazel runit,data.txtappears in the runfiles, which wasn't present with just thecc_shared_libdependency.Is this an intentional design? If so, what is the reason behind it?
Beta Was this translation helpful? Give feedback.
All reactions