aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src/config.ts')
-rw-r--r--editors/code/src/config.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index 95c3f42e5..fb9e55dd6 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -26,6 +26,8 @@ export class Config {
26 public excludeGlobs = []; 26 public excludeGlobs = [];
27 public useClientWatching = false; 27 public useClientWatching = false;
28 public featureFlags = {}; 28 public featureFlags = {};
29 // for internal use
30 public withSysroot: null | boolean = null;
29 public cargoWatchOptions: CargoWatchOptions = { 31 public cargoWatchOptions: CargoWatchOptions = {
30 enableOnStartup: 'ask', 32 enableOnStartup: 'ask',
31 trace: 'off', 33 trace: 'off',
@@ -148,5 +150,8 @@ export class Config {
148 if (config.has('featureFlags')) { 150 if (config.has('featureFlags')) {
149 this.featureFlags = config.get('featureFlags') || {}; 151 this.featureFlags = config.get('featureFlags') || {};
150 } 152 }
153 if (config.has('withSysroot')) {
154 this.withSysroot = config.get('withSysroot') || false;
155 }
151 } 156 }
152} 157}