blob: 6001226391871c98d18d7696caaf2c2ee792c9b2 [file] [log] [blame]
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
package(default_visibility = ["//visibility:public"])
exports_files([
"known_shas.bzl",
"repositories.bzl",
"defs.bzl",
"toolchain.bzl",
])
toolchain_type(
name = "toolchain",
)
bzl_library(
name = "bzl_lib",
srcs = glob(["**/*.bzl"]),
deps = [
"//rust/platform:bzl_lib",
"//rust/private:bzl_lib",
"//rust/settings:bzl_lib",
],
)
alias(
name = "rules",
actual = ":bzl_lib",
deprecation = "Please use the `@rules_rust//rust:bzl_lib` target instead",
)
filegroup(
name = "distro",
srcs = glob(["*.bzl"]) + [
"//rust/platform:distro",
"//rust/private:distro",
"//rust/settings:distro",
"//rust/toolchain:distro",
"BUILD.bazel",
],
visibility = ["//:__subpackages__"],
)