aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlberki <lberki@users.noreply.github.com>2024-02-09 11:25:44 +0100
committerGitHub <noreply@github.com>2024-02-09 10:25:44 +0000
commit3962d128a1ae20d39fb9bb4ab26d75c0441ad6f7 (patch)
treee0524020ef790319177348f271dbce526748bcb0
parent9f68ed24fc02f404d61ef27359e5d9cb05815681 (diff)
downloadbazelbuild-rules_rust-3962d128a1ae20d39fb9bb4ab26d75c0441ad6f7.tar.gz
Remove the remaining host_fragments= arguments. (#2472)
-rw-r--r--proto/prost/private/prost.bzl1
-rw-r--r--proto/protobuf/proto.bzl2
-rw-r--r--rust/private/unpretty.bzl1
3 files changed, 0 insertions, 4 deletions
diff --git a/proto/prost/private/prost.bzl b/proto/prost/private/prost.bzl
index 0a9f3500..d3c34c71 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 7b254305..a9509ee0 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 81b04e0f..024a2fc7 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`",