Skip to content

Commit c468e39

Browse files
committed
Auto merge of rust-lang#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.
2 parents 7e17b98 + 7fc0f89 commit c468e39

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

editors/code/package.json

+6
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
"categories": [
2020
"Programming Languages"
2121
],
22+
"capabilities": {
23+
"untrustedWorkspaces": {
24+
"supported": false,
25+
"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."
26+
}
27+
},
2228
"engines": {
2329
"vscode": "^1.66.0"
2430
},

0 commit comments

Comments
 (0)