From ffe16808c501b9bfe2895851c90cb74f5e6c3c8c Mon Sep 17 00:00:00 2001 From: William Chargin Date: Tue, 10 Nov 2020 09:22:34 -0800 Subject: [PATCH] workspace: upgrade to newer `rules_rust` (#4307) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: We pull in bazelbuild/rules_rust#468 to make it easier to build protos, while not pulling in bazelbuild/rules_rust#463, because that would require us to update Bazel to 3.0.0. Happily, the commit that we need merged immediately before the commit that we don’t want! (Yes, this is a wee bit precarious; we’re working on the Bazel upgrade: #4277.) Test Plan: With both Bazel 2.1.0 and Bazel 3.7.0, everything builds, all tests pass, and TensorBoard looks okay enough. wchargin-branch: rules-rust-20201105a --- WORKSPACE | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index a1e31ab0b11..86f5feaa816 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -109,12 +109,12 @@ bazel_version_repository(name = "bazel_version") http_archive( name = "io_bazel_rules_rust", - sha256 = "9beda941ab076d15428d8615475329bd65002a13a26c2837932af0fb3dc582c5", - strip_prefix = "rules_rust-9426a3820093e75ea07d14f875e42f789632507f", + sha256 = "52b7c0da410c8a80baf3c0d3b799b8619eb3e81a9c61cba829f63c16f0be1711", + strip_prefix = "rules_rust-afee872f08ed67b53caab2e1d2fefd501dce81f4", urls = [ - # Master branch as of 2020-10-23 - "http://mirror.tensorflow.org/github.com/bazelbuild/rules_rust/archive/9426a3820093e75ea07d14f875e42f789632507f.tar.gz", - "https://github.com/bazelbuild/rules_rust/archive/9426a3820093e75ea07d14f875e42f789632507f.tar.gz", + # Master branch as of 2020-11-05 + "http://mirror.tensorflow.org/github.com/bazelbuild/rules_rust/archive/afee872f08ed67b53caab2e1d2fefd501dce81f4.tar.gz", + "https://github.com/bazelbuild/rules_rust/archive/afee872f08ed67b53caab2e1d2fefd501dce81f4.tar.gz", ], )