Skip to content

Commit bf90115

Browse files
committed
fix: disable Java toolchain which is causing C++ compiles
1 parent 15dcfe6 commit bf90115

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

examples/tools/toolchains/BUILD.bazel

+10-7
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,16 @@ proto_lang_toolchain(
1919
)
2020

2121
# Same as above, but for Java
22-
proto_lang_toolchain(
23-
name = "protoc_java_toolchain",
24-
command_line = "--java_out=%s",
25-
progress_message = "Generating Java proto_library %{label}",
26-
runtime = "@protobuf-java//jar",
27-
toolchain_type = "@rules_java//java/proto:toolchain_type",
28-
)
22+
# Broken by https://github.com/protocolbuffers/protobuf/pull/19679
23+
# which causes building C++ code from source.
24+
# TODO: re-enable once protobuf honors the toolchain
25+
# proto_lang_toolchain(
26+
# name = "protoc_java_toolchain",
27+
# command_line = "--java_out=%s",
28+
# progress_message = "Generating Java proto_library %{label}",
29+
# runtime = "@protobuf-java//jar",
30+
# toolchain_type = "@rules_java//java/proto:toolchain_type",
31+
# )
2932

3033
################
3134
# Setup a non-functional C++ toolchain, so we're assured that no C++ compilation

0 commit comments

Comments
 (0)