Add rust-analyzer config to .vscode/settings.json

This enables the same features we use in run_tests or clippy.

BUG=None
TEST=Local testing in vscode

Change-Id: If8f176dbcea26af3bf65ac955c7c1f4b328028e9
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3834726
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Tested-by: Dennis Kempin <denniskempin@google.com>
This commit is contained in:
Dennis Kempin 2022-08-16 21:54:36 +00:00 committed by crosvm LUCI
parent 891cac74e7
commit a125989ddb

View file

@ -1,5 +1,9 @@
{ {
// Python // Python
"python.formatting.provider": "black", "python.formatting.provider": "black",
"python.analysis.typeCheckingMode": "strict" "python.analysis.typeCheckingMode": "strict",
// Rust
"rust-analyzer.cargo.features": [
"all-linux"
]
} }