Skip to content

Commit 8d2cc30

Browse files
committed
Move the cargo add runtime to before any other cargo commands so that they work correctly always.
1 parent dd5f89e commit 8d2cc30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dynamic_instrumentation/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ fn cargo_wrapper(rustc_wrapper: &Path) -> anyhow::Result<()> {
316316
// it usually isn't that slow.
317317
cmd.args(&["clean", "--package", root_package.name.as_str()]);
318318
})?;
319-
319+
320320
// TODO(kkysen) Once we upgrade to 1.62, we can just use `cargo` and not specify `+stable`.
321321
// The problem currently is that `+stable` doesn't work on a resolved `$CARGO`,
322322
// which happens when this runs inside of `cargo test`,

0 commit comments

Comments
 (0)