Skip to content
Open
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
ab75d99
Cargo: upgrade dependencies
tausbn Apr 15, 2026
1234471
Bazel: regenerate vendored cargo dependencies
tausbn Apr 15, 2026
5f76c94
Rust: update rust-analyzer source and run codegen
tausbn Apr 15, 2026
ce360c4
Rust: adapt extractor to rust-analyzer 0.0.328 API changes
tausbn Apr 15, 2026
35fc6fb
Rust: update toolchain to 1.91 and apply lint fixes
tausbn Apr 15, 2026
68ab2fb
Rust: fix QL references for schema changes and add upgrade/downgrade …
tausbn Apr 15, 2026
8747228
Rust: fix formatting and codegen drift
tausbn Apr 15, 2026
87a0ed1
Rust: fix LoadCargoConfig defaults (proc_macro_processes must be >= 1)
tausbn Apr 15, 2026
6057c79
Rust: fix upgrade script and update test expectations
tausbn Apr 15, 2026
1bd0821
Rust: fix downgrade script (same format_args_arg_names issue)
tausbn Apr 15, 2026
ac27c20
Rust: fix consistency test failures from rust-analyzer upgrade
tausbn Apr 16, 2026
f66f82c
Rust: fix downgrade script - add missing block_expr_try_block_modifiers
tausbn Apr 16, 2026
60bffd0
Merge origin/main into rust analyzer upgrade
redsun82 May 22, 2026
a2ecf65
Rust: accept test changes
redsun82 May 22, 2026
e87c034
Merge branch 'main' into tausbn/rust-upgrade-to-rust-analyzer-0.0.328
redsun82 May 26, 2026
7f2bda1
Rust: Add full upgrade script for dbscheme migration
redsun82 May 26, 2026
25ab2e0
Rust: Add full downgrade script for dbscheme migration
redsun82 May 27, 2026
f4faf4c
Rust: Filter downgraded comments on removed nodes
redsun82 May 27, 2026
b89d9ad
Rust: Drop locations for downgraded comments
redsun82 May 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1,915 changes: 919 additions & 996 deletions Cargo.lock

Large diffs are not rendered by default.

82 changes: 41 additions & 41 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -100,76 +100,76 @@ use_repo(
tree_sitter_extractors_deps = use_extension("//misc/bazel/3rdparty:tree_sitter_extractors_extension.bzl", "r")
use_repo(
tree_sitter_extractors_deps,
"vendor_ts__anyhow-1.0.100",
"vendor_ts__argfile-0.2.1",
"vendor_ts__cc-1.2.61",
"vendor_ts__anyhow-1.0.102",
"vendor_ts__argfile-1.0.0",
"vendor_ts__cc-1.2.62",
"vendor_ts__chalk-ir-0.104.0",
"vendor_ts__chrono-0.4.42",
"vendor_ts__clap-4.5.48",
"vendor_ts__chrono-0.4.44",
"vendor_ts__clap-4.6.1",
"vendor_ts__dunce-1.0.5",
"vendor_ts__either-1.15.0",
"vendor_ts__either-1.16.0",
"vendor_ts__encoding-0.2.33",
"vendor_ts__figment-0.10.19",
"vendor_ts__flate2-1.1.2",
"vendor_ts__flate2-1.1.9",
"vendor_ts__glob-0.3.3",
"vendor_ts__globset-0.4.16",
"vendor_ts__globset-0.4.18",
"vendor_ts__itertools-0.14.0",
"vendor_ts__lazy_static-1.5.0",
"vendor_ts__mustache-0.9.0",
"vendor_ts__num-traits-0.2.19",
"vendor_ts__num_cpus-1.17.0",
"vendor_ts__proc-macro2-1.0.101",
"vendor_ts__quote-1.0.41",
"vendor_ts__ra_ap_base_db-0.0.301",
"vendor_ts__ra_ap_cfg-0.0.301",
"vendor_ts__ra_ap_hir-0.0.301",
"vendor_ts__ra_ap_hir_def-0.0.301",
"vendor_ts__ra_ap_hir_expand-0.0.301",
"vendor_ts__ra_ap_hir_ty-0.0.301",
"vendor_ts__ra_ap_ide_db-0.0.301",
"vendor_ts__ra_ap_intern-0.0.301",
"vendor_ts__ra_ap_load-cargo-0.0.301",
"vendor_ts__ra_ap_parser-0.0.301",
"vendor_ts__ra_ap_paths-0.0.301",
"vendor_ts__ra_ap_project_model-0.0.301",
"vendor_ts__ra_ap_span-0.0.301",
"vendor_ts__ra_ap_stdx-0.0.301",
"vendor_ts__ra_ap_syntax-0.0.301",
"vendor_ts__ra_ap_vfs-0.0.301",
"vendor_ts__rand-0.9.2",
"vendor_ts__rayon-1.11.0",
"vendor_ts__regex-1.11.3",
"vendor_ts__proc-macro2-1.0.106",
"vendor_ts__quote-1.0.45",
"vendor_ts__ra_ap_base_db-0.0.328",
"vendor_ts__ra_ap_cfg-0.0.328",
"vendor_ts__ra_ap_hir-0.0.328",
"vendor_ts__ra_ap_hir_def-0.0.328",
"vendor_ts__ra_ap_hir_expand-0.0.328",
"vendor_ts__ra_ap_hir_ty-0.0.328",
"vendor_ts__ra_ap_ide_db-0.0.328",
"vendor_ts__ra_ap_intern-0.0.328",
"vendor_ts__ra_ap_load-cargo-0.0.328",
"vendor_ts__ra_ap_parser-0.0.328",
"vendor_ts__ra_ap_paths-0.0.328",
"vendor_ts__ra_ap_project_model-0.0.328",
"vendor_ts__ra_ap_span-0.0.328",
"vendor_ts__ra_ap_stdx-0.0.328",
"vendor_ts__ra_ap_syntax-0.0.328",
"vendor_ts__ra_ap_vfs-0.0.328",
"vendor_ts__rand-0.10.1",
"vendor_ts__rayon-1.12.0",
"vendor_ts__regex-1.12.3",
"vendor_ts__serde-1.0.228",
"vendor_ts__serde_json-1.0.145",
"vendor_ts__serde_with-3.14.1",
"vendor_ts__serde_json-1.0.150",
"vendor_ts__serde_with-3.20.0",
"vendor_ts__serde_yaml-0.9.34-deprecated",
"vendor_ts__syn-2.0.106",
"vendor_ts__toml-0.9.7",
"vendor_ts__tracing-0.1.41",
"vendor_ts__syn-2.0.117",
"vendor_ts__toml-1.1.2-spec-1.1.0",
"vendor_ts__tracing-0.1.44",
"vendor_ts__tracing-flame-0.2.0",
"vendor_ts__tracing-subscriber-0.3.20",
"vendor_ts__tree-sitter-0.26.8",
"vendor_ts__tracing-subscriber-0.3.23",
"vendor_ts__tree-sitter-0.26.9",
"vendor_ts__tree-sitter-embedded-template-0.25.0",
"vendor_ts__tree-sitter-generate-0.26.8",
"vendor_ts__tree-sitter-generate-0.26.9",
"vendor_ts__tree-sitter-json-0.24.8",
"vendor_ts__tree-sitter-language-0.1.5",
"vendor_ts__tree-sitter-language-0.1.7",
"vendor_ts__tree-sitter-python-0.23.6",
"vendor_ts__tree-sitter-ql-0.23.1",
"vendor_ts__tree-sitter-ruby-0.23.1",
"vendor_ts__triomphe-0.1.14",
"vendor_ts__triomphe-0.1.15",
"vendor_ts__ungrammar-1.16.1",
"vendor_ts__zstd-0.13.3",
)

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

# rust-analyzer sources needed by the rust ast-generator (see `rust/ast-generator/README.md`)
RUST_ANALYZER_SRC_TAG = "2025-01-07"
RUST_ANALYZER_SRC_TAG = "2026-04-13"

http_archive(
name = "rust-analyzer-src",
build_file = "//rust/ast-generator:BUILD.rust-analyzer-src.bazel",
integrity = "sha256-eo8mIaUafZL8LOM65bDIIIXw1rNQ/P/x5RK/XUtgo5g=",
integrity = "sha256-UB/+EVx/6j4VGvnb7jfRqPaoc7Uwci3rEt6il+2J1Ds=",
patch_args = ["-p1"],
patches = [
"//rust/ast-generator:patches/rust-analyzer.patch",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading