about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorEmil Lauridsen <mine809@gmail.com>2020-03-16 14:10:13 +0100
committerEmil Lauridsen <mine809@gmail.com>2020-03-17 14:47:05 +0100
commitf5a2fcf8f59eda3498bbdcb87568e5ba6b4db8b7 (patch)
tree1ace16a13f74d6165780b8054b0b4e8b43f945c2 /editors/code/package.json
parent33c6c7abc6621f8b0cf083a98f7e4788cf4b5b54 (diff)
downloadrust-f5a2fcf8f59eda3498bbdcb87568e5ba6b4db8b7.tar.gz
rust-f5a2fcf8f59eda3498bbdcb87568e5ba6b4db8b7.zip
Change existing OUT_DIR override config to make use of new infrastructure
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 188a2f9ca68..b4128acf07b 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -237,11 +237,6 @@
                     "default": true,
                     "description": "Whether to ask for permission before downloading any files from the Internet"
                 },
-                "rust-analyzer.additionalOutDirs": {
-                    "type": "object",
-                    "default": {},
-                    "markdownDescription": "Fine grained controls for OUT_DIR `env!(\"OUT_DIR\")` variable. e.g. `{\"foo\":\"/path/to/foo\"}`, "
-                },
                 "rust-analyzer.serverPath": {
                     "type": [
                         "null",
@@ -367,6 +362,11 @@
                     "type": "boolean",
                     "default": false,
                     "markdownDescription": "Run `cargo check` on startup to get the correct value for package OUT_DIRs"
+                },
+                "rust-analyzer.cargoFeatures.outDirOverrides": {
+                    "type": "object",
+                    "default": {},
+                    "markdownDescription": "Fine grained controls for OUT_DIR `env!(\"OUT_DIR\")` variable. e.g. `{\"foo 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)\":\"/path/to/foo\"}`, "
                 }
             }
         },