Skip to content

Commit

Permalink
Update rust rule to reference deps in @bazel_tools
Browse files Browse the repository at this point in the history
Fixes bazelbuild#1004.

--
MOS_MIGRATED_REVID=116299622
  • Loading branch information
kchodorow authored and damienmg committed Mar 4, 2016
1 parent 1882618 commit 2de7a88
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tools/build_rules/rust/rust.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
),
Expand Down

0 comments on commit 2de7a88

Please sign in to comment.