Skip to content

Commit

Permalink
fix(rust_indexer): update to a recent nightly toolchain (#4940)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrlk committed May 20, 2021
1 parent dee76d7 commit e77b26d
Show file tree
Hide file tree
Showing 125 changed files with 2,563 additions and 1,242 deletions.
6 changes: 3 additions & 3 deletions external.bzl
Expand Up @@ -16,8 +16,8 @@ load("@io_kythe//tools/build_rules/build_event_stream:repo.bzl", "build_event_st
load("@io_kythe//kythe/cxx/extractor:toolchain.bzl", cxx_extractor_register_toolchains = "register_toolchains")
load("@rules_python//python:repositories.bzl", "py_repositories")
load("@bazel_toolchains//repositories:repositories.bzl", bazel_toolchains_repositories = "repositories")
load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repositories")
load("@io_bazel_rules_rust//proto:repositories.bzl", "rust_proto_repositories")
load("@rules_rust//rust:repositories.bzl", "rust_repositories")
load("@rules_rust//proto:repositories.bzl", "rust_proto_repositories")
load("@build_bazel_rules_nodejs//:index.bzl", "npm_install")
load(
"@bazelruby_rules_ruby//ruby:deps.bzl",
Expand All @@ -38,7 +38,7 @@ def _rule_dependencies():
rules_proto_dependencies()
py_repositories()
bazel_toolchains_repositories()
rust_repositories(version = "nightly", iso_date = "2020-06-23", dev_components = True)
rust_repositories(version = "nightly", iso_date = "2021-05-18", dev_components = True)
rust_proto_repositories()
rules_ruby_dependencies()
rules_ruby_select_sdk(version = "host")
Expand Down
2 changes: 1 addition & 1 deletion kythe/proto/BUILD
Expand Up @@ -4,7 +4,7 @@ load("@rules_java//java:defs.bzl", "java_proto_library")
load("//:visibility.bzl", "PUBLIC_PROTO_VISIBILITY")
load(":go.bzl", "go_kythe_proto")
load("@npm//@bazel/labs:index.bzl", "ts_proto_library")
load("@io_bazel_rules_rust//proto:proto.bzl", "rust_proto_library")
load("@rules_rust//proto:proto.bzl", "rust_proto_library")

package(default_visibility = ["//kythe:proto_visibility"])

Expand Down
28 changes: 18 additions & 10 deletions kythe/rust/cargo/BUILD.bazel
Expand Up @@ -14,7 +14,7 @@ licenses([
# Aliased targets
alias(
name = "anyhow",
actual = "@raze__anyhow__1_0_32//:anyhow",
actual = "@raze__anyhow__1_0_40//:anyhow",
tags = [
"cargo-raze",
"manual",
Expand All @@ -23,7 +23,7 @@ alias(

alias(
name = "assert_cmd",
actual = "@raze__assert_cmd__1_0_1//:assert_cmd",
actual = "@raze__assert_cmd__1_0_4//:assert_cmd",
tags = [
"cargo-raze",
"manual",
Expand All @@ -32,7 +32,7 @@ alias(

alias(
name = "clap",
actual = "@raze__clap__2_33_1//:clap",
actual = "@raze__clap__2_33_3//:clap",
tags = [
"cargo-raze",
"manual",
Expand All @@ -59,7 +59,7 @@ alias(

alias(
name = "predicates",
actual = "@raze__predicates__1_0_5//:predicates",
actual = "@raze__predicates__1_0_8//:predicates",
tags = [
"cargo-raze",
"manual",
Expand All @@ -77,7 +77,7 @@ alias(

alias(
name = "rayon",
actual = "@raze__rayon__1_5_0//:rayon",
actual = "@raze__rayon__1_5_1//:rayon",
tags = [
"cargo-raze",
"manual",
Expand All @@ -86,7 +86,7 @@ alias(

alias(
name = "regex",
actual = "@raze__regex__1_3_9//:regex",
actual = "@raze__regex__1_5_4//:regex",
tags = [
"cargo-raze",
"manual",
Expand All @@ -104,7 +104,7 @@ alias(

alias(
name = "rls_data",
actual = "@raze__rls_data__0_19_0//:rls_data",
actual = "@raze__rls_data__0_19_1//:rls_data",
tags = [
"cargo-raze",
"manual",
Expand All @@ -122,7 +122,7 @@ alias(

alias(
name = "serde",
actual = "@raze__serde__1_0_114//:serde",
actual = "@raze__serde__1_0_126//:serde",
tags = [
"cargo-raze",
"manual",
Expand All @@ -131,7 +131,7 @@ alias(

alias(
name = "serde_json",
actual = "@raze__serde_json__1_0_57//:serde_json",
actual = "@raze__serde_json__1_0_64//:serde_json",
tags = [
"cargo-raze",
"manual",
Expand All @@ -158,9 +158,17 @@ alias(

alias(
name = "zip",
actual = "@raze__zip__0_5_6//:zip",
actual = "@raze__zip__0_5_12//:zip",
tags = [
"cargo-raze",
"manual",
],
)

# Export file for Stardoc support
exports_files(
[
"crates.bzl",
],
visibility = ["//visibility:public"],
)

0 comments on commit e77b26d

Please sign in to comment.