Skip to content

Commit a007a12

Browse files
bors[bot]matklad
andauthored
Merge #3573
3573: Check all crates of the workspace r=matklad a=matklad Previously, if the root of the was was a real crate, only this crate was checked. Ideally, we might want some kind of config here (which might be just overriding the whole command), but `--workspace` is def a nicer default. r? @kiljacken Co-authored-by: Aleksey Kladov <[email protected]>
2 parents 5bdc249 + f2dd023 commit a007a12

File tree

1 file changed

+1
-0
lines changed
  • crates/ra_cargo_watch/src

1 file changed

+1
-0
lines changed

crates/ra_cargo_watch/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ impl WatchThread {
254254
fn new(options: &CheckOptions, workspace_root: &PathBuf) -> WatchThread {
255255
let mut args: Vec<String> = vec![
256256
options.command.clone(),
257+
"--workspace".to_string(),
257258
"--message-format=json".to_string(),
258259
"--manifest-path".to_string(),
259260
format!("{}/Cargo.toml", workspace_root.to_string_lossy()),

0 commit comments

Comments
 (0)