mirror of https://github.com/bazelbuild/rules_rust
Update rust rule to reference deps in @bazel_tools
Fixes #1004. -- MOS_MIGRATED_REVID=116299622
This commit is contained in:
parent
69add05491
commit
fe08969351
10
rust.bzl
10
rust.bzl
|
@ -596,16 +596,18 @@ _rust_common_attrs = {
|
|||
|
||||
_rust_toolchain_attrs = {
|
||||
"_rustc": attr.label(
|
||||
default = Label("//tools/build_rules/rust:rustc"),
|
||||
default = Label("@bazel_tools//tools/build_rules/rust:rustc"),
|
||||
executable = True,
|
||||
single_file = True,
|
||||
),
|
||||
"_rustc_lib": attr.label(
|
||||
default = Label("//tools/build_rules/rust:rustc_lib"),
|
||||
default = Label("@bazel_tools//tools/build_rules/rust:rustc_lib"),
|
||||
),
|
||||
"_rustlib": attr.label(
|
||||
default = Label("@bazel_tools//tools/build_rules/rust:rustlib"),
|
||||
),
|
||||
"_rustlib": attr.label(default = Label("//tools/build_rules/rust:rustlib")),
|
||||
"_rustdoc": attr.label(
|
||||
default = Label("//tools/build_rules/rust:rustdoc"),
|
||||
default = Label("@bazel_tools//tools/build_rules/rust:rustdoc"),
|
||||
executable = True,
|
||||
single_file = True,
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue