Skip to content

Commit

Permalink
workspace: upgrade to newer rules_rust (#4307)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
wchargin committed Nov 10, 2020
1 parent d5fbc32 commit ffe1680
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
)

Expand Down

0 comments on commit ffe1680

Please sign in to comment.