blob: 8e9034843ac35e2be58d6818ecd8479f8f1cb29a [file] [log] [blame]
load("@io_bazel_rules_rust//rust:toolchain.bzl", _rust_toolchain = "rust_toolchain")
load("@io_bazel_rules_rust//proto:toolchain.bzl", _rust_proto_toolchain = "rust_proto_toolchain")
# # TODO(stardoc): Blocked by lack of upstream bzl_library instances:
# # - File external/io_bazel_rules_rust/rust/private/rustc.bzl imported '@bazel_tools//tools/build_defs/cc:action_names.bzl', yet external/bazel_tools/tools/build_defs/cc/action_names.bzl was not found.
# # - Exception in thread "main" java.lang.IllegalStateException: File external/io_bazel_rules_rust/rust/private/rustc.bzl imported '@bazel_skylib//lib:versions.bzl', yet external/bazel_skylib/lib/versions.bzl was not found.
# load("@io_bazel_rules_rust//proto:proto.bzl",
# _rust_proto_library = "rust_proto_library",
# _rust_grpc_library = "rust_grpc_library",
# )
# load(
# "@io_bazel_rules_rust//rust:rust.bzl",
# # TODO(stardoc): yeah okay
# # external/docs/all.bzl:7:1: file '@io_bazel_rules_rust//rust:rust.bzl' does not contain symbol 'rust_benchmark ' (did you mean 'rust_benchmark'?)
# # _rust_benchmark = "rust_benchmark ",
# _rust_binary = "rust_binary",
# _rust_doc = "rust_doc",
# _rust_doc_test = "rust_doc_test",
# _rust_library = "rust_library",
# _rust_test = "rust_test",
# )
# load("@io_bazel_rules_rust//bindgen:bindgen.bzl",
# _rust_bindgen_toolchain = "rust_bindgen_toolchain",
# _rust_bindgen = "rust_bindgen",
# _rust_bindgen_library = "rust_bindgen_library",
# )
#
# rust_library = _rust_library
# rust_binary = _rust_binary
# rust_test = _rust_test
# rust_doc = _rust_doc
# rust_doc_test = _rust_doc_test
#
# # rust_benchmark = _rust_benchmark
# rust_proto_library = _rust_proto_library
# rust_grpc_library = _rust_grpc_library
#
# rust_bindgen_toolchain = _rust_bindgen_toolchain
# rust_bindgen = _rust_bindgen
# # TODO: Macro documentation doesn't seem to work.
# # rust_bindgen_library = _rust_bindgen_library
# TODO(stardoc): This aliasing isn't mentioned in the docs, but generated documentation is broken without it.
rust_toolchain = _rust_toolchain
rust_proto_toolchain = _rust_proto_toolchain