mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 06:03:58 +00:00
Auto merge of #14112 - Veykril:vscode-untrusted, r=lnicola
minor: Explicitly disable the rust-analyzer extension in untrusted workspaces This is the default, but its always better to be explicit here + we can add a small note as to why.
This commit is contained in:
commit
c468e39b5a
1 changed files with 6 additions and 0 deletions
|
@ -19,6 +19,12 @@
|
|||
"categories": [
|
||||
"Programming Languages"
|
||||
],
|
||||
"capabilities": {
|
||||
"untrustedWorkspaces": {
|
||||
"supported": false,
|
||||
"description": "rust-analyzer invokes binaries set up by its configuration as well as the Rust toolchain's binaries. A malicious actor could exploit this to run arbitrary code on your machine."
|
||||
}
|
||||
},
|
||||
"engines": {
|
||||
"vscode": "^1.66.0"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue