Skip to content

Commit

Permalink
Ensure rustc-echo-wrapper works with an overridden build.target-dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemo157 committed Aug 9, 2022
1 parent e6827ee commit b7a9ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cargo-test-support/src/tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fn echo_wrapper() -> PathBuf {
"#,
)
.build();
p.cargo("build").run();
p.cargo("build --target-dir target").run();
let path = p.bin("rustc-echo-wrapper");
*lock = Some(path.clone());
path
Expand Down

0 comments on commit b7a9ce8

Please sign in to comment.