diff options
author | David Chen <dzc@google.com> | 2015-10-05 12:21:32 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2015-10-05 15:16:40 +0000 |
commit | ab141f8d1035eb30bbb9dc09d89ea6a3ba83cc0f (patch) | |
tree | 587e9401adeb385d3d859a3c4458b7d7945f2674 /examples/rust/hello_world/BUILD | |
parent | 73ee6215490ed957c13c8dbe03814b039d6ddd5c (diff) |
[rust] Add rust_bench_test and rust_doc_test rules and improve usability of rust_test rule.
* Add rust_bench_test rule to run benchmark tests
* Add rust_doc_test rule to run Rust documentation tests.
* Enable rust_test and rust_bench_test to depend directly on a rust_library target.
* Rename rust_docs rule to rust_doc for consistency.
RELNOTES: [rust] Add rust_bench_test and rust_doc_test rules and improve usability of rust_test tule.
--
MOS_MIGRATED_REVID=104648497
Diffstat (limited to 'examples/rust/hello_world/BUILD')
-rw-r--r-- | examples/rust/hello_world/BUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/rust/hello_world/BUILD b/examples/rust/hello_world/BUILD index ccd87f1b93..1f5365675b 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_docs") +load("/tools/build_rules/rust/rust", "rust_binary", "rust_doc") rust_binary( name = "hello_world", @@ -8,7 +8,7 @@ rust_binary( deps = ["//examples/rust/hello_lib"], ) -rust_docs( - name = "hello_world_docs", +rust_doc( + name = "hello_world_doc", dep = ":hello_world", ) |