Updated `bzl_library` targets to have a more discoverable name (#1088)
diff --git a/rust/platform/BUILD.bazel b/rust/platform/BUILD.bazel
index 1b90cee..459b9fb 100644
--- a/rust/platform/BUILD.bazel
+++ b/rust/platform/BUILD.bazel
@@ -13,7 +13,14 @@
)
bzl_library(
- name = "rules",
+ name = "bzl_lib",
srcs = glob(["**/*.bzl"]),
visibility = ["//rust:__subpackages__"],
)
+
+alias(
+ name = "rules",
+ actual = ":bzl_lib",
+ deprecation = "Please use the `@rules_rust//platform:bzl_lib` target instead",
+ visibility = ["//rust:__subpackages__"],
+)