diff options
author | 2016-02-01 10:28:54 +0000 | |
---|---|---|
committer | 2016-02-02 14:54:39 +0000 | |
commit | 68d0b69165127e259b23515f3d6d62fd1e4fc0ea (patch) | |
tree | 8c603526cc3df1ee662e38cf25d328c71837625e /examples/rust | |
parent | 038a574e42dad1b29f734c10f2f4c3d4af1ee6a4 (diff) |
Use labels in load statements
This will fix some issue with loading skylark rules from @bazel_tools.
Tested with ./compile.sh all and also a project that use pkg_tar from
@bazel_tools (which is broken at HEAD).
--
Change-Id: Iffbb7134ef5fee497890c4d01b85084973d45ad0
Reviewed-on: https://bazel-review.googlesource.com/2800
MOS_MIGRATED_REVID=113508661
Diffstat (limited to 'examples/rust')
-rw-r--r-- | examples/rust/fibonacci/BUILD | 2 | ||||
-rw-r--r-- | examples/rust/hello_lib/BUILD | 2 | ||||
-rw-r--r-- | examples/rust/hello_world/BUILD | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/rust/fibonacci/BUILD b/examples/rust/fibonacci/BUILD index a29e2123ba..74f7914217 100644 --- a/examples/rust/fibonacci/BUILD +++ b/examples/rust/fibonacci/BUILD @@ -1,7 +1,7 @@ package(default_visibility = ["//visibility:public"]) load( - "/tools/build_rules/rust/rust", + "//tools/build_rules/rust:rust.bzl", "rust_library", "rust_test", "rust_bench_test", diff --git a/examples/rust/hello_lib/BUILD b/examples/rust/hello_lib/BUILD index 90941e6a42..c47368727a 100644 --- a/examples/rust/hello_lib/BUILD +++ b/examples/rust/hello_lib/BUILD @@ -1,7 +1,7 @@ package(default_visibility = ["//visibility:public"]) load( - "/tools/build_rules/rust/rust", + "//tools/build_rules/rust:rust.bzl", "rust_library", "rust_test", "rust_doc", diff --git a/examples/rust/hello_world/BUILD b/examples/rust/hello_world/BUILD index 71061255cd..e78362915c 100644 --- a/examples/rust/hello_world/BUILD +++ b/examples/rust/hello_world/BUILD @@ -1,6 +1,6 @@ package(default_visibility = ["//visibility:public"]) -load("/tools/build_rules/rust/rust", "rust_binary", "rust_doc", "rust_doc_test") +load("//tools/build_rules/rust:rust.bzl", "rust_binary", "rust_doc", "rust_doc_test") rust_binary( name = "hello_world", |