aboutsummaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
authorGravatar Kamal Marhubi <kamal@marhubi.com>2015-12-02 13:14:04 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2015-12-02 22:25:46 +0000
commit79f6fa3a4ad941deaf87a17c4df25a9ee84f8729 (patch)
tree2e2e3532cb565a8409a58307704c856b2499f779 /WORKSPACE
parent837b7ea0a29ec509a7f326440e05488a5ab488cf (diff)
Update Rust new_http_archive rules to use 1.4 and strip_prefix
The lack of strip_prefix lead to the files not being found with the supplied rust.BUILD file. Tested: - created simple repository with rust_library and rust_binary targets as outlined in //tools/build_rules/rust/README.md - (workaround) copied //tools/build_rules/rust/rust.BUILD into workspace as suggested by @kchodorow: https://github.com/bazelbuild/bazel/issues/488#issuecomment-143754576 - verified that library and binary build, and that binary runs correctly RELNOTES: Update Rust to 1.4 -- Change-Id: Ic2c275395ca245179e35e723faf0b9d13120fa1f Reviewed-on: https://bazel-review.googlesource.com/#/c/2382/ MOS_MIGRATED_REVID=109187409
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE12
1 files changed, 6 insertions, 6 deletions
diff --git a/WORKSPACE b/WORKSPACE
index 5e57bc4d52..a81e0476af 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -1,17 +1,17 @@
new_http_archive(
name = "rust-linux-x86_64",
+ url = "https://static.rust-lang.org/dist/rust-1.4.0-x86_64-unknown-linux-gnu.tar.gz",
+ strip_prefix = "rust-1.4.0-x86_64-unknown-linux-gnu",
+ sha256 = "2de2424b50ca2ab3a67c495b6af03c720801a2928ad30884438ad0f5436ac51d",
build_file = "tools/build_rules/rust/rust.BUILD",
- sha256 = "fa755b6331ff7554e6e8545ee20af7897b0adc65f471dd24ae8a467a944755b4",
- strip_prefix = "rust-1.3.0-x86_64-unknown-linux-gnu",
- url = "https://static.rust-lang.org/dist/rust-1.3.0-x86_64-unknown-linux-gnu.tar.gz",
)
new_http_archive(
name = "rust-darwin-x86_64",
+ url = "https://static.rust-lang.org/dist/rust-1.4.0-x86_64-apple-darwin.tar.gz",
+ strip_prefix = "rust-1.4.0-x86_64-apple-darwin",
+ sha256 = "7256617aec7c106be2aa3c5df0a2e613b13ec55e6237ab612bb4164719e09e21",
build_file = "tools/build_rules/rust/rust.BUILD",
- sha256 = "bfeac876e22cc5fe63a250644ce1a6f3892c13a5461131a881419bd06fcb2011",
- strip_prefix = "rust-1.3.0-x86_64-apple-darwin",
- url = "https://static.rust-lang.org/dist/rust-1.3.0-x86_64-apple-darwin.tar.gz",
)
# In order to run the Android integration tests, uncomment these rules, point