Skip to content

Commit 64309fc

Browse files
feat: test with cargo --build
1 parent 58c86e8 commit 64309fc

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
@@ -88,7 +88,7 @@ impl BuildOptions<'_> {
8888
/// Note: the command explicitely ignores the `self.benches`, since no matter what `cargo bench` builds all benches for the built packages
8989
fn build_command(&self) -> Command {
9090
let mut cargo = Command::new("cargo");
91-
cargo.args(["bench", "--no-run"]);
91+
cargo.args(["build", "--benches"]);
9292

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

0 commit comments

Comments
 (0)