You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The include_runfiles behavior for pkg_files breaks down if multiple sources include the same runfile. For instance, if two sources foo and bar include a runfile blob.txt, only foo will get blob.txt in its runfiles. A warning is emitted here and the runfile is not mapped for bar:
print("same source mapped to different locations", rf, have_it, dest_path)
else:
src_dest_paths_map[rf] =dest_path
The behavior I'd expect is that the runfile is mapping inside of foo.runfiles and bar.runfiles, either as a duplicate copy of the same file or perhaps a link to some single copy in the package.
The text was updated successfully, but these errors were encountered:
The
include_runfiles
behavior forpkg_files
breaks down if multiple sources include the same runfile. For instance, if two sourcesfoo
andbar
include a runfileblob.txt
, onlyfoo
will getblob.txt
in its runfiles. A warning is emitted here and the runfile is not mapped forbar
:rules_pkg/pkg/mappings.bzl
Lines 307 to 313 in 5c6aec6
The behavior I'd expect is that the runfile is mapping inside of
foo.runfiles
andbar.runfiles
, either as a duplicate copy of the same file or perhaps a link to some single copy in the package.The text was updated successfully, but these errors were encountered: