How to reference the protoc toolchain in rules #30055
Unanswered
newyankeecodeshop
asked this question in
Q&A
Replies: 0 comments
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.
I am excited to take advantage of the prebuilt
protoccompiler!I have a
sh_binaryrule that uses protoc via a dependency on@com_google_protobuf//:protoc. What is the best way to replace the dependency so that I can use the prebuilt compiler from the shell script?I assume it is to use a
toolchainattribute on thesh_binaryrule? I could not find the public name of the toolchain.Thanks!
All reactions