summaryrefslogtreecommitdiff
path: root/misc/.vscode/settings.json
diff options
context:
space:
mode:
Diffstat (limited to 'misc/.vscode/settings.json')
-rw-r--r--misc/.vscode/settings.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/.vscode/settings.json b/misc/.vscode/settings.json
new file mode 100644
index 0000000000..a2e4e1ec69
--- /dev/null
+++ b/misc/.vscode/settings.json
@@ -0,0 +1,10 @@
+{
+ "rust-analyzer.cargo.features": [
+ "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",
+}