diff options
| author | bors <bors@rust-lang.org> | 2023-02-09 18:46:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-02-09 18:46:11 +0000 |
| commit | c468e39b5a371f1a85dfe5ebece82caad0796c0a (patch) | |
| tree | 51a2ae9dfd4ed2f0b1256fa79010e54a5036238d | |
| parent | 7e17b98d17f2496dd00331ebd481d343f37654b2 (diff) | |
| parent | 7fc0f8985dcd51db19b30b8a77345bcaa5daff79 (diff) | |
| download | rust-c468e39b5a371f1a85dfe5ebece82caad0796c0a.tar.gz rust-c468e39b5a371f1a85dfe5ebece82caad0796c0a.zip | |
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.
| -rw-r--r-- | editors/code/package.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 9f0b494a6bd..3610e993f82 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -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" }, |
