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 /WORKSPACE | |
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 'WORKSPACE')
-rw-r--r-- | WORKSPACE | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -47,6 +47,7 @@ new_http_archive( url = "https://static.rust-lang.org/dist/rust-1.3.0-x86_64-unknown-linux-gnu.tar.gz", sha256 = "fa755b6331ff7554e6e8545ee20af7897b0adc65f471dd24ae8a467a944755b4", build_file = "tools/build_rules/rust/rust.BUILD", + strip_prefix = "rust-1.3.0-x86_64-unknown-linux-gnu", ) new_http_archive( @@ -54,6 +55,7 @@ new_http_archive( url = "https://static.rust-lang.org/dist/rust-1.3.0-x86_64-apple-darwin.tar.gz", sha256 = "bfeac876e22cc5fe63a250644ce1a6f3892c13a5461131a881419bd06fcb2011", build_file = "tools/build_rules/rust/rust.BUILD", + strip_prefix = "rust-1.3.0-x86_64-apple-darwin", ) # In order to run the Android integration tests, uncomment these rules, point |