Update rust rule to reference deps in @bazel_tools

Fixes #1004.

--
MOS_MIGRATED_REVID=116299622
This commit is contained in:
Kristina Chodorow 2016-03-03 23:19:24 +00:00 committed by Damien Martin-Guillerez
parent 69add05491
commit fe08969351
1 changed files with 6 additions and 4 deletions

View File

@ -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,
),