mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 03:57:24 +00:00
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:
parent
891cac74e7
commit
a125989ddb
1 changed files with 5 additions and 1 deletions
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
|
@ -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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue