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
Add target_compatible_with parameter to proto_toolchain in Bazel rules (#22429)
In some cases, few targets can require different proto_toolchains.
In my case, my project defines different toolchains and each of them can define its own Protobuf compiler from its SDK, independent of the others. Restricting it with exec_compatible_with is not an option, since each target is built on the same x86_64 system.
I patched this Bazel file in my build system and thus was able to define the Protobuf compiler independently for each target.
Closes#22429
COPYBARA_INTEGRATE_REVIEW=#22429 from jagub2:proto_toolchain_target_compatibility 6539aad
PiperOrigin-RevId: 785828194
0 commit comments