about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-16 14:58:43 +0000
committerbors <bors@rust-lang.org>2024-08-16 14:58:43 +0000
commit01245bd4d22fdb150dd4e2aa17ad1e4236854647 (patch)
tree8ed2a3d1e000a58ceeb18af4c2a6a789921cef6e
parent995a014192029b187b2094284d729b4df6711bfb (diff)
parent6fc487d2ccb57b7166bb706707485bd5b129fe9d (diff)
downloadrust-01245bd4d22fdb150dd4e2aa17ad1e4236854647.tar.gz
rust-01245bd4d22fdb150dd4e2aa17ad1e4236854647.zip
Auto merge of #17909 - darichey:remove-discoverProjectRunner, r=lnicola
Remove rust-analyzer.workspace.discoverProjectRunner

The functionality for this vscode config option was removed in #17395, so it doesn't do anything anymore.
-rw-r--r--src/tools/rust-analyzer/editors/code/package.json8
-rw-r--r--src/tools/rust-analyzer/editors/code/src/config.ts4
2 files changed, 0 insertions, 12 deletions
diff --git a/src/tools/rust-analyzer/editors/code/package.json b/src/tools/rust-analyzer/editors/code/package.json
index bf9c4a366d4..3d1e1efe4db 100644
--- a/src/tools/rust-analyzer/editors/code/package.json
+++ b/src/tools/rust-analyzer/editors/code/package.json
@@ -330,14 +330,6 @@
                         "default": false,
                         "type": "boolean"
                     },
-                    "rust-analyzer.discoverProjectRunner": {
-                        "markdownDescription": "Sets the extension responsible for determining which extension the rust-analyzer extension uses to generate `rust-project.json` files. This should should only be used\n if a build system like Buck or Bazel is also in use.",
-                        "default": null,
-                        "type": [
-                            "null",
-                            "string"
-                        ]
-                    },
                     "rust-analyzer.showUnlinkedFileNotification": {
                         "markdownDescription": "Whether to show a notification for unlinked files asking the user to add the corresponding Cargo.toml to the linked projects setting.",
                         "default": true,
diff --git a/src/tools/rust-analyzer/editors/code/src/config.ts b/src/tools/rust-analyzer/editors/code/src/config.ts
index dc0165df71e..1e3dc608095 100644
--- a/src/tools/rust-analyzer/editors/code/src/config.ts
+++ b/src/tools/rust-analyzer/editors/code/src/config.ts
@@ -252,10 +252,6 @@ export class Config {
         await this.cfg.update("checkOnSave", !(value || false), target || null, overrideInLanguage);
     }
 
-    get discoverProjectRunner(): string | undefined {
-        return this.get<string | undefined>("discoverProjectRunner");
-    }
-
     get problemMatcher(): string[] {
         return this.get<string[]>("runnables.problemMatcher") || [];
     }