Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update rust-analyzer to 2024-12-02 #146

Merged
merged 2 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions LSP-rust-analyzer.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@
// Relative path to the sysroot, or "discover" to try to automatically find
// it via "rustc --print sysroot". Unsetting this disables sysroot loading.
"rust-analyzer.cargo.sysroot": "discover",
// How to query metadata for the sysroot crate. Using cargo metadata allows rust-analyzer to analyze third-party
// dependencies of the standard libraries.
// - none - Do not query sysroot metadata, always use stitched sysroot.
// - cargo_metadata - Use `cargo metadata` to query sysroot metadata.
"rust-analyzer.cargo.sysrootQueryMetadata": "cargo_metadata",
// Relative path to the sysroot library sources. If left unset, this will default to
// `{cargo.sysroot}/lib/rustlib/src/rust/library`.
//
Expand Down
2 changes: 1 addition & 1 deletion plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

SESSION_NAME = "rust-analyzer"

TAG = "2024-11-25"
TAG = "2024-12-02"
"""
Update this single git tag to download a newer version.
After changing this tag, go through the server settings again to see
Expand Down
13 changes: 13 additions & 0 deletions sublime-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,19 @@
"string"
]
},
"rust-analyzer.cargo.sysrootQueryMetadata": {
"markdownDescription": "How to query metadata for the sysroot crate. Using cargo metadata allows rust-analyzer\nto analyze third-party dependencies of the standard libraries.",
"default": "cargo_metadata",
"type": "string",
"enum": [
"none",
"cargo_metadata"
],
"enumDescriptions": [
"Do not query sysroot metadata, always use stitched sysroot.",
"Use `cargo metadata` to query sysroot metadata."
]
},
"rust-analyzer.cargo.sysrootSrc": {
"markdownDescription": "Relative path to the sysroot library sources. If left unset, this will default to\n`{cargo.sysroot}/lib/rustlib/src/rust/library`.\n\nThis option does not take effect until rust-analyzer is restarted.",
"default": null,
Expand Down