From b430fc67636388ee40052854a25a08a357e52bcc Mon Sep 17 00:00:00 2001 From: "Lukacs T. Berki" Date: Fri, 9 Feb 2024 07:41:19 +0000 Subject: [PATCH] Remove the remaining host_fragments= arguments. --- proto/prost/private/prost.bzl | 1 - proto/protobuf/proto.bzl | 2 -- rust/private/unpretty.bzl | 1 - 3 files changed, 4 deletions(-) diff --git a/proto/prost/private/prost.bzl b/proto/prost/private/prost.bzl index 0a9f350040..d3c34c719e 100644 --- a/proto/prost/private/prost.bzl +++ b/proto/prost/private/prost.bzl @@ -275,7 +275,6 @@ rust_prost_aspect = aspect( ), } | RUSTC_ATTRS, fragments = ["cpp"], - host_fragments = ["cpp"], toolchains = [ TOOLCHAIN_TYPE, "@bazel_tools//tools/cpp:toolchain_type", diff --git a/proto/protobuf/proto.bzl b/proto/protobuf/proto.bzl index 7b2543052a..a9509ee0c5 100644 --- a/proto/protobuf/proto.bzl +++ b/proto/protobuf/proto.bzl @@ -325,7 +325,6 @@ rust_proto_library = rule( ), }, fragments = ["cpp"], - host_fragments = ["cpp"], toolchains = [ str(Label("//proto/protobuf:toolchain_type")), str(Label("//rust:toolchain_type")), @@ -418,7 +417,6 @@ rust_grpc_library = rule( ), }, fragments = ["cpp"], - host_fragments = ["cpp"], toolchains = [ str(Label("//proto/protobuf:toolchain_type")), str(Label("//rust:toolchain_type")), diff --git a/rust/private/unpretty.bzl b/rust/private/unpretty.bzl index 81b04e0f5b..024a2fc711 100644 --- a/rust/private/unpretty.bzl +++ b/rust/private/unpretty.bzl @@ -226,7 +226,6 @@ def _rust_unpretty_aspect_impl(target, ctx): rust_unpretty_aspect = aspect( implementation = _rust_unpretty_aspect_impl, fragments = ["cpp"], - host_fragments = ["cpp"], attrs = { "_unpretty_modes": attr.label( doc = "The values to pass to `--unpretty`",