Skip to content

Commit 6e12727

Browse files
feat: test with cargo --build
1 parent a2c140e commit 6e12727

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
@@ -98,7 +98,7 @@ impl BuildOptions<'_> {
9898
/// This command explicitely ignores the `self.benches`, we build all the benches and only move the relevant ones afterwards
9999
fn build_command(&self) -> Command {
100100
let mut cargo = Command::new("cargo");
101-
cargo.args(["bench", "--no-run"]);
101+
cargo.args(["build", "--benches"]);
102102

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

0 commit comments

Comments
 (0)