aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/project_model/src/cargo_workspace.rs2
-rw-r--r--editors/code/src/main.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/project_model/src/cargo_workspace.rs b/crates/project_model/src/cargo_workspace.rs
index 2ee4e88b2..a1ab9c6db 100644
--- a/crates/project_model/src/cargo_workspace.rs
+++ b/crates/project_model/src/cargo_workspace.rs
@@ -377,7 +377,7 @@ pub(crate) fn load_extern_resources(
377 progress: &dyn Fn(String), 377 progress: &dyn Fn(String),
378) -> Result<ExternResources> { 378) -> Result<ExternResources> {
379 let mut cmd = Command::new(toolchain::cargo()); 379 let mut cmd = Command::new(toolchain::cargo());
380 cmd.args(&["check", "--message-format=json", "--manifest-path"]).arg(cargo_toml); 380 cmd.args(&["check", "--workspace", "--message-format=json", "--manifest-path"]).arg(cargo_toml);
381 381
382 // --all-targets includes tests, benches and examples in addition to the 382 // --all-targets includes tests, benches and examples in addition to the
383 // default lib and bins. This is an independent concept from the --targets 383 // default lib and bins. This is an independent concept from the --targets
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts
index 694da9409..e598c2c84 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -167,7 +167,7 @@ async function bootstrapExtension(config: Config, state: PersistentState): Promi
167 } 167 }
168 return; 168 return;
169 }; 169 };
170 if (serverPath(config) !== null) return; 170 if (serverPath(config)) return;
171 171
172 const now = Date.now(); 172 const now = Date.now();
173 if (config.package.releaseTag === NIGHTLY_TAG) { 173 if (config.package.releaseTag === NIGHTLY_TAG) {