summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2026-01-13 15:27:22 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2026-01-13 15:27:45 -0800
commit4f8478f50cd12e1144addcef0cbff35e9ee1e3db (patch)
tree615175dfce0e26f689563e968eefd524152f483b
parent9f8505f06cd491e5635c40a9baa7d377bb258c5b (diff)
misc/.vscode/settings.json: Fix rust-analyzer warnings
-rw-r--r--misc/.vscode/settings.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/.vscode/settings.json b/misc/.vscode/settings.json
index c11838155e..a2e4e1ec69 100644
--- a/misc/.vscode/settings.json
+++ b/misc/.vscode/settings.json
@@ -3,4 +3,8 @@
"disasm",
],
"rust-analyzer.cfg.setTest": false,
+ // rust-analyzer bundled in the VSCode extension may only support Rust newer than 1.85.0.
+ // To avoid warnings, install rust-analyzer with `rustup component add rust-analyzer` and
+ // use `~/.cargo/bin/rust-analyzer` with the following config.
+ "rust-analyzer.server.path": "rust-analyzer",
}