Skip to content

Commit

Permalink
Update rules_rust to point to the latest rule version and update de…
Browse files Browse the repository at this point in the history
…precated API call

The latest rust version is `1.65.0`, which is now being used in CI.
Additionally, `rust_repositories` is
[deprecated](https://bazelbuild.github.io/rules_rust/flatten.html#rust_repositories)
in favor of [rules_rust_dependencies](https://bazelbuild.github.io/rules_rust/flatten.html#rules_rust_dependencies) and
[rust_register_toolchains](https://bazelbuild.github.io/rules_rust/flatten.html#rust_register_toolchains).
  • Loading branch information
groszewn committed Dec 14, 2022
1 parent 1675de9 commit 10f966f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions third_party/rust.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
TensorBoard external Rust dependencies (both infrastructure and frontend libs)
"""

load("@rules_rust//rust:repositories.bzl", "rust_repositories")
load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
load("//third_party/rust:crates.bzl", "raze_fetch_remote_crates")

def tensorboard_rust_workspace():
"""TensorBoard Rust dependencies."""
rust_repositories(version = "1.58.1")
rules_rust_dependencies()
rust_register_toolchains(version = "1.65.0")
raze_fetch_remote_crates()

0 comments on commit 10f966f

Please sign in to comment.