Skip to content

Commit 1a5a2a2

Browse files
author
Paolo Tranquilli
committed
Rust: update rust-analyzer source for ast-generator
1 parent d33b4bb commit 1a5a2a2

File tree

7 files changed

+41
-158
lines changed

7 files changed

+41
-158
lines changed

Cargo.lock

Lines changed: 16 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MODULE.bazel

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,23 @@ use_repo(py_deps, "vendor__anyhow-1.0.44", "vendor__cc-1.0.70", "vendor__clap-2.
7070
# deps for ruby+rust
7171
# keep in sync by running `misc/bazel/3rdparty/update_cargo_deps.sh`
7272
tree_sitter_extractors_deps = use_extension("//misc/bazel/3rdparty:tree_sitter_extractors_extension.bzl", "r")
73-
use_repo(tree_sitter_extractors_deps, "vendor__anyhow-1.0.95", "vendor__argfile-0.2.1", "vendor__chrono-0.4.39", "vendor__clap-4.5.24", "vendor__dunce-1.0.5", "vendor__either-1.13.0", "vendor__encoding-0.2.33", "vendor__figment-0.10.19", "vendor__flate2-1.0.35", "vendor__glob-0.3.2", "vendor__globset-0.4.15", "vendor__itertools-0.14.0", "vendor__lazy_static-1.5.0", "vendor__log-0.4.22", "vendor__num-traits-0.2.19", "vendor__num_cpus-1.16.0", "vendor__proc-macro2-1.0.92", "vendor__quote-1.0.38", "vendor__ra_ap_base_db-0.0.256", "vendor__ra_ap_cfg-0.0.256", "vendor__ra_ap_hir-0.0.256", "vendor__ra_ap_hir_def-0.0.256", "vendor__ra_ap_hir_expand-0.0.256", "vendor__ra_ap_ide_db-0.0.256", "vendor__ra_ap_intern-0.0.256", "vendor__ra_ap_load-cargo-0.0.256", "vendor__ra_ap_parser-0.0.256", "vendor__ra_ap_paths-0.0.256", "vendor__ra_ap_project_model-0.0.256", "vendor__ra_ap_span-0.0.256", "vendor__ra_ap_stdx-0.0.248", "vendor__ra_ap_syntax-0.0.256", "vendor__ra_ap_vfs-0.0.256", "vendor__rand-0.8.5", "vendor__rayon-1.10.0", "vendor__regex-1.11.1", "vendor__serde-1.0.217", "vendor__serde_json-1.0.135", "vendor__serde_with-3.12.0", "vendor__stderrlog-0.6.0", "vendor__syn-2.0.95", "vendor__tracing-0.1.41", "vendor__tracing-subscriber-0.3.19", "vendor__tree-sitter-0.24.5", "vendor__tree-sitter-embedded-template-0.23.2", "vendor__tree-sitter-json-0.24.8", "vendor__tree-sitter-ql-0.23.1", "vendor__tree-sitter-ruby-0.23.1", "vendor__triomphe-0.1.14", "vendor__ungrammar-1.16.1")
73+
use_repo(tree_sitter_extractors_deps, "vendor__anyhow-1.0.95", "vendor__argfile-0.2.1", "vendor__chrono-0.4.39", "vendor__clap-4.5.24", "vendor__dunce-1.0.5", "vendor__either-1.13.0", "vendor__encoding-0.2.33", "vendor__figment-0.10.19", "vendor__flate2-1.0.35", "vendor__glob-0.3.2", "vendor__globset-0.4.15", "vendor__itertools-0.14.0", "vendor__lazy_static-1.5.0", "vendor__log-0.4.22", "vendor__num-traits-0.2.19", "vendor__num_cpus-1.16.0", "vendor__proc-macro2-1.0.92", "vendor__quote-1.0.38", "vendor__ra_ap_base_db-0.0.256", "vendor__ra_ap_cfg-0.0.256", "vendor__ra_ap_hir-0.0.256", "vendor__ra_ap_hir_def-0.0.256", "vendor__ra_ap_hir_expand-0.0.256", "vendor__ra_ap_ide_db-0.0.256", "vendor__ra_ap_intern-0.0.256", "vendor__ra_ap_load-cargo-0.0.256", "vendor__ra_ap_parser-0.0.256", "vendor__ra_ap_paths-0.0.256", "vendor__ra_ap_project_model-0.0.256", "vendor__ra_ap_span-0.0.256", "vendor__ra_ap_stdx-0.0.256", "vendor__ra_ap_syntax-0.0.256", "vendor__ra_ap_vfs-0.0.256", "vendor__rand-0.8.5", "vendor__rayon-1.10.0", "vendor__regex-1.11.1", "vendor__serde-1.0.217", "vendor__serde_json-1.0.135", "vendor__serde_with-3.12.0", "vendor__stderrlog-0.6.0", "vendor__syn-2.0.95", "vendor__tracing-0.1.41", "vendor__tracing-subscriber-0.3.19", "vendor__tree-sitter-0.24.5", "vendor__tree-sitter-embedded-template-0.23.2", "vendor__tree-sitter-json-0.24.8", "vendor__tree-sitter-ql-0.23.1", "vendor__tree-sitter-ruby-0.23.1", "vendor__triomphe-0.1.14", "vendor__ungrammar-1.16.1")
7474

7575
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
7676

7777
# rust-analyzer sources needed by the rust ast-generator (see `rust/ast-generator/README.md`)
78+
RUST_ANALYZER_TAG = "2025-01-07"
79+
7880
http_archive(
7981
name = "rust-analyzer-src",
8082
build_file = "//rust/ast-generator:BUILD.rust-analyzer-src.bazel",
81-
integrity = "sha256-jl4KJmZku+ilMLnuX2NU+qa1v10IauSiDiz23sZo360=",
83+
integrity = "sha256-eo8mIaUafZL8LOM65bDIIIXw1rNQ/P/x5RK/XUtgo5g=",
8284
patch_args = ["-p1"],
8385
patches = [
8486
"//rust/ast-generator:patches/rust-analyzer.patch",
8587
],
86-
strip_prefix = "rust-analyzer-2024-12-16",
87-
url = "https://github.com/rust-lang/rust-analyzer/archive/refs/tags/2024-12-16.tar.gz",
88+
strip_prefix = "rust-analyzer-%s" % RUST_ANALYZER_TAG,
89+
url = "https://github.com/rust-lang/rust-analyzer/archive/refs/tags/%s.tar.gz" % RUST_ANALYZER_TAG,
8890
)
8991

9092
dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")

misc/bazel/3rdparty/tree_sitter_extractors_deps/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

misc/bazel/3rdparty/tree_sitter_extractors_deps/BUILD.ra_ap_stdx-0.0.248.bazel

Lines changed: 0 additions & 102 deletions
This file was deleted.

misc/bazel/3rdparty/tree_sitter_extractors_deps/defs.bzl

Lines changed: 2 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/ast-generator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ ungrammar = "1.16.1"
99
proc-macro2 = "1.0.92"
1010
quote = "1.0.38"
1111
either = "1.13.0"
12-
stdx = {package = "ra_ap_stdx", version = "0.0.248"}
12+
ra_ap_stdx = "0.0.256"
1313
itertools = "0.14.0"

0 commit comments

Comments
 (0)