aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/code/package.json5
-rw-r--r--editors/code/src/config.ts2
2 files changed, 0 insertions, 7 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index b4128acf0..b9e0ffd2b 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -362,11 +362,6 @@
362 "type": "boolean", 362 "type": "boolean",
363 "default": false, 363 "default": false,
364 "markdownDescription": "Run `cargo check` on startup to get the correct value for package OUT_DIRs" 364 "markdownDescription": "Run `cargo check` on startup to get the correct value for package OUT_DIRs"
365 },
366 "rust-analyzer.cargoFeatures.outDirOverrides": {
367 "type": "object",
368 "default": {},
369 "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\"}`, "
370 } 365 }
371 } 366 }
372 }, 367 },
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index c7323f6e9..b45b14bef 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -23,7 +23,6 @@ export interface CargoFeatures {
23 allFeatures: boolean; 23 allFeatures: boolean;
24 features: string[]; 24 features: string[];
25 loadOutDirsFromCheck: boolean; 25 loadOutDirsFromCheck: boolean;
26 outDirOverrides: Record<string, string>;
27} 26}
28 27
29export const enum UpdatesChannel { 28export const enum UpdatesChannel {
@@ -222,7 +221,6 @@ export class Config {
222 allFeatures: this.cfg.get("cargoFeatures.allFeatures") as boolean, 221 allFeatures: this.cfg.get("cargoFeatures.allFeatures") as boolean,
223 features: this.cfg.get("cargoFeatures.features") as string[], 222 features: this.cfg.get("cargoFeatures.features") as string[],
224 loadOutDirsFromCheck: this.cfg.get("cargoFeatures.loadOutDirsFromCheck") as boolean, 223 loadOutDirsFromCheck: this.cfg.get("cargoFeatures.loadOutDirsFromCheck") as boolean,
225 outDirOverrides: this.cfg.get("cargoFeatures.outDirOverrides") as Record<string, string>,
226 }; 224 };
227 } 225 }
228 226