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
If you author C++ code then it's reasonable to require every engineer on your team has a functioning local toolchain, or you've configured Bazel with a hermetic toolchain.
In practice of course it's ALWAYS annoying to compile protoc and watch its gcc warnings scrolling by, and I'd love to have C++ here too!
What is the current behavior?
I can't quite get
cc_proto_library
to work and there is no end-to-end example for C++.Describe the feature
I'd like to enable
--incompatible_enable_proto_toolchain_resolution
and use a precompiled protoc.I got this mostly working:
MODULE.bazel
:toolchain/BUILD
:BUILD
:foo.proto
:Output:
edit
I think the
runtime
attribute ofproto_lang_toolchain
should be something like@com_google_protobuf//:protoc_lib
.I’ll experiment some more.
The text was updated successfully, but these errors were encountered: