Skip to content

Commit 0c752e0

Browse files
feat: test with cargo --build
1 parent 83b6094 commit 0c752e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/cargo-codspeed/src/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl BuildOptions<'_> {
9494
/// This command explicitely ignores the `self.benches`, we build all the benches and only move the relevant ones afterwards
9595
fn build_command(&self) -> Command {
9696
let mut cargo = Command::new("cargo");
97-
cargo.args(["bench", "--no-run"]);
97+
cargo.args(["build", "--benches"]);
9898

9999
if let Some(features) = self.features {
100100
cargo.arg("--features").arg(features.join(","));

0 commit comments

Comments
 (0)