diff --git a/protobuf.bzl b/protobuf.bzl index 0b8f5e7d8e..e356f53c9c 100644 --- a/protobuf.bzl +++ b/protobuf.bzl @@ -99,13 +99,13 @@ proto_gen = rule( "deps": attr.label_list(providers = ["proto"]), "includes": attr.string_list(), "protoc": attr.label( - cfg = HOST_CFG, + cfg = "host", executable = True, single_file = True, mandatory = True, ), "plugin": attr.label( - cfg = HOST_CFG, + cfg = "host", allow_files = True, executable = True, ),