Skip to content

Commit 4f8478f

Browse files
committed
misc/.vscode/settings.json: Fix rust-analyzer warnings
1 parent 9f8505f commit 4f8478f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

misc/.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@
33
"disasm",
44
],
55
"rust-analyzer.cfg.setTest": false,
6+
// rust-analyzer bundled in the VSCode extension may only support Rust newer than 1.85.0.
7+
// To avoid warnings, install rust-analyzer with `rustup component add rust-analyzer` and
8+
// use `~/.cargo/bin/rust-analyzer` with the following config.
9+
"rust-analyzer.server.path": "rust-analyzer",
610
}

0 commit comments

Comments
 (0)