Skip to content

Instantly share code, notes, and snippets.

@pamaury
Created June 12, 2023 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pamaury/b8491e75fc905d84265b875c007ae208 to your computer and use it in GitHub Desktop.
Save pamaury/b8491e75fc905d84265b875c007ae208 to your computer and use it in GitHub Desktop.
def _rv_alias_impl(ctx):
files = ctx.attr.actual[DefaultInfo].files
runfiles = ctx.runfiles(files.to_list())
return [DefaultInfo(files = files, runfiles = runfiles)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment